Mila
Deep Neural Network Library
Loading...
Searching...
No Matches
Mila::Dnn::TensorTrait< float > Struct Reference

Specialization of TensorTrait for float type. More...

Static Public Attributes

static constexpr bool is_float_type = true
 
static constexpr bool is_integer_type = false
 
static constexpr bool is_supported = true
 
static constexpr size_t size_in_bytes = sizeof( float )
 
static constexpr std::string_view type_name = "FP32"
 

Detailed Description

Specialization of TensorTrait for float type.

Member Data Documentation

◆ is_float_type

constexpr bool Mila::Dnn::TensorTrait< float >::is_float_type = true
staticconstexpr

◆ is_integer_type

constexpr bool Mila::Dnn::TensorTrait< float >::is_integer_type = false
staticconstexpr

◆ is_supported

constexpr bool Mila::Dnn::TensorTrait< float >::is_supported = true
staticconstexpr

◆ size_in_bytes

constexpr size_t Mila::Dnn::TensorTrait< float >::size_in_bytes = sizeof( float )
staticconstexpr

◆ type_name

constexpr std::string_view Mila::Dnn::TensorTrait< float >::type_name = "FP32"
staticconstexpr

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