• Docs >
  • Library API >
  • Template Function at::symint::native_layer_norm(const at::Tensor&, at::IntArrayRef, const ::std::optional<at::Tensor>&, const ::std::optional<at::Tensor>&, double)
  • Edit on GitHub
Shortcuts

Template Function at::symint::native_layer_norm(const at::Tensor&, at::IntArrayRef, const ::std::optional<at::Tensor>&, const ::std::optional<at::Tensor>&, double)

Function Documentation

template<typename T, typename = std::enable_if_t<std::is_same_v<T, int64_t>>>
::std::tuple<at::Tensor, at::Tensor, at::Tensor> at::symint::native_layer_norm(const at::Tensor &input, at::IntArrayRef normalized_shape, const ::std::optional<at::Tensor> &weight, const ::std::optional<at::Tensor> &bias, double eps)

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