ONE - On-device Neural Engine
Loading...
Searching...
No Matches
ann Namespace Reference

Data Structures

class  Module
 
class  Operand
 
class  OperandID
 
class  OperandInventory
 
class  Operation
 
class  OperationInventory
 
struct  TensorOperand
 Plain (non-qunatized) Tensor Operand. More...
 
class  Weight
 
class  WeightInventory
 

Typedefs

using InputList = std::vector< OperandID >
 
using OutputList = std::vector< OperandID >
 

Enumerations

enum class  DType { UNK , S32 , F32 }
 

Functions

template<>
DType dtype< int32_t > (void)
 
template<>
DType dtype< float > (void)
 
template<typename T >
DType dtype (void)
 

Typedef Documentation

◆ InputList

using ann::InputList = typedef std::vector<OperandID>

Definition at line 27 of file InputList.h.

◆ OutputList

using ann::OutputList = typedef std::vector<OperandID>

Definition at line 27 of file OutputList.h.

Enumeration Type Documentation

◆ DType

enum class ann::DType
strong
Enumerator
UNK 
S32 
F32 

Definition at line 25 of file DType.h.

26{
27 UNK,
28 S32,
29 F32
30};

Function Documentation

◆ dtype()

template<typename T >
DType ann::dtype ( void  )

◆ dtype< float >()

template<>
DType ann::dtype< float > ( void  )

Definition at line 23 of file DType.cpp.

23{ return DType::F32; }

References F32.

◆ dtype< int32_t >()

template<>
DType ann::dtype< int32_t > ( void  )

Definition at line 22 of file DType.cpp.

22{ return DType::S32; }

References S32.