Function at::_assert_tensor_metadata¶
Defined in File Functions.h
Function Documentation¶
-
inline void at::_assert_tensor_metadata(const at::Tensor &a, at::OptionalIntArrayRef size = ::std::nullopt, at::OptionalIntArrayRef stride = ::std::nullopt, ::std::optional<at::ScalarType> dtype = ::std::nullopt, ::std::optional<at::Device> device = ::std::nullopt, ::std::optional<at::Layout> layout = ::std::nullopt)¶