dtype_traits< int > Struct Template Reference

#include <traits.hpp>

Public Types

enum  { af_type = s32, ctype = f32 }
 
typedef int base_type
 

Static Public Member Functions

static const char * getName ()
 

Detailed Description

template<>
struct af::dtype_traits< int >

Definition at line 93 of file traits.hpp.

Member Typedef Documentation

◆ base_type

typedef int base_type

Definition at line 98 of file traits.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
af_type 
ctype 

Definition at line 94 of file traits.hpp.

94  {
95  af_type = s32 ,
96  ctype = f32
97  };
32-bit signed integral values
Definition: defines.h:201
32-bit floating point values
Definition: defines.h:196

Member Function Documentation

◆ getName()

static const char* getName ( )
inlinestatic

Definition at line 99 of file traits.hpp.

99 { return "int"; }

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