SIGN IN SIGN UP

Allow softmax and log_softmax to operate on any dimension (#5694)

Summary:
Pull Request resolved: https://github.com/pytorch/executorch/pull/5694

Use the portable implementation for `dim != -1`, simplified to only floats.

Make the optimized cases fallback to the CPU impl.

Reviewed By: manuelcandales

Differential Revision: D63430960

fbshipit-source-id: ec2d56a60d2b064744383a2f1266dee7600fa884
M
Matthias Cremon committed
a1ed265d3519e047310bdb4bf091907598099fd7
Parent: e172c5c
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 9/27/2024, 12:22:01 AM