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

Specialization of TensorTrait for 16-bit signed integer type. More...

Static Public Attributes

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

Detailed Description

Specialization of TensorTrait for 16-bit signed integer type.

Member Data Documentation

◆ is_float_type

constexpr bool Mila::Dnn::TensorTrait< int16_t >::is_float_type = false
staticconstexpr

◆ is_integer_type

constexpr bool Mila::Dnn::TensorTrait< int16_t >::is_integer_type = true
staticconstexpr

◆ is_supported

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

◆ size_in_bytes

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

◆ type_name

constexpr std::string_view Mila::Dnn::TensorTrait< int16_t >::type_name = "INT16"
staticconstexpr

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