• Docs >
  • Library API >
  • Template Function at::symint::native_layer_norm_backward(const at::Tensor&, const at::Tensor&, c10::SymIntArrayRef, const at::Tensor&, const at::Tensor&, const ::std::optional<at::Tensor>&, const ::std::optional<at::Tensor>&, ::std::array<bool, 3>)
  • Edit on GitHub
Shortcuts

Template Function at::symint::native_layer_norm_backward(const at::Tensor&, const at::Tensor&, c10::SymIntArrayRef, const at::Tensor&, const at::Tensor&, const ::std::optional<at::Tensor>&, const ::std::optional<at::Tensor>&, ::std::array<bool, 3>)

Function Documentation

template<typename T, typename = std::enable_if_t<std::is_same_v<T, c10::SymInt>>>
::std::tuple<at::Tensor, at::Tensor, at::Tensor> at::symint::native_layer_norm_backward(const at::Tensor &grad_out, const at::Tensor &input, c10::SymIntArrayRef normalized_shape, const at::Tensor &mean, const at::Tensor &rstd, const ::std::optional<at::Tensor> &weight, const ::std::optional<at::Tensor> &bias, ::std::array<bool, 3> output_mask)

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources