:github_url: https://github.com/pytorch/pytorch .. _exhale_function_namespaceat_1_1symint_1a6f24efc92fa3a019c8d3f50090602268: Template Function at::symint::cross_entropy_loss(const at::Tensor&, const at::Tensor&, const ::std::optional&, int64_t, c10::SymInt, double) ======================================================================================================================================================== - Defined in :ref:`file_build_aten_src_ATen_Functions.h` Function Documentation ---------------------- .. doxygenfunction:: at::symint::cross_entropy_loss(const at::Tensor&, const at::Tensor&, const ::std::optional&, int64_t, c10::SymInt, double)