:github_url: https://github.com/pytorch/pytorch .. _exhale_function_namespacetorch_1_1special_1a1a7c865d54790969fb279bc28e651df0: Function torch::special::softmax ================================ - Defined in :ref:`file_torch_csrc_api_include_torch_special.h` Function Documentation ---------------------- .. doxygenfunction:: torch::special::softmax(const Tensor&, int64_t, std::optional)