Mila 0.13.48
Deep Neural Network Library
Loading...
Searching...
No Matches
Mila::Dnn::TensorDataTypeMap< TElementType > Struct Template Referenceexport

Primary template for mapping concrete C++ types to TensorDataType. More...

Detailed Description

template<typename TElementType>
struct Mila::Dnn::TensorDataTypeMap< TElementType >

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.

Template Parameters
TElementTypeThe concrete C++ tensor element type

The documentation for this struct was generated from the following file: