|
Mila 0.13.48
Deep Neural Network Library
|
Primary template for mapping concrete C++ types to TensorDataType. More...
Primary template for mapping concrete C++ types to TensorDataType.
Provides a compile-time mapping from a concrete C++ element type to the corresponding abstract TensorDataType enumeration value. Only specializations for supported concrete types should be provided. Instantiating the primary template for unsupported types produces a clear static_assert failure.
| TElementType | The concrete C++ tensor element type |