Template Function at::symint::_assert_tensor_metadata(const at::Tensor&, at::OptionalSymIntArrayRef, at::OptionalSymIntArrayRef, ::std::optional<at::ScalarType>)¶
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)¶