Template Function at::symint::_assert_tensor_metadata(const at::Tensor&, at::OptionalSymIntArrayRef, at::OptionalSymIntArrayRef, ::std::optional<at::ScalarType>, ::std::optional<at::Device>, ::std::optional<at::Layout>)¶
Defined in File Functions.h
Function Documentation¶
-
template<typename T, typename = std::enable_if_t<std::is_same_v<T, c10::SymInt>>>
void at::symint::_assert_tensor_metadata(const at::Tensor &a, at::OptionalSymIntArrayRef size = ::std::nullopt, at::OptionalSymIntArrayRef stride = ::std::nullopt, ::std::optional<at::ScalarType> dtype = ::std::nullopt, ::std::optional<at::Device> device = ::std::nullopt, ::std::optional<at::Layout> layout = ::std::nullopt)¶