Template Function at::symint::_assert_tensor_metadata(const at::Tensor&, at::OptionalIntArrayRef, at::OptionalIntArrayRef, ::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, int64_t>>>
void at::symint::_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)¶