Shortcuts

Function at::_assert_tensor_metadata

Function Documentation

inline void at::_assert_tensor_metadata(const at::Tensor &a, at::OptionalIntArrayRef size = c10::nullopt, at::OptionalIntArrayRef stride = c10::nullopt, c10::optional<at::ScalarType> dtype = c10::nullopt)

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