ONE - On-device Neural Engine
Loading...
Searching...
No Matches
ann::Operand Class Reference

#include <Operand.h>

Public Member Functions

virtual ~Operand ()=default
 
DType dtype (void) const
 
void dtype (const DType &dtype)
 
const Weightweight (void) const
 
void weight (const Weight *weight)
 

Detailed Description

Definition at line 28 of file Operand.h.

Constructor & Destructor Documentation

◆ ~Operand()

virtual ann::Operand::~Operand ( )
virtualdefault

Member Function Documentation

◆ dtype() [1/2]

void ann::Operand::dtype ( const DType dtype)
inline

Definition at line 35 of file Operand.h.

35{ _dtype = dtype; }
DType dtype(void) const
Definition Operand.h:34

References dtype().

Referenced by dtype().

◆ dtype() [2/2]

DType ann::Operand::dtype ( void  ) const
inline

Definition at line 34 of file Operand.h.

34{ return _dtype; }

◆ weight() [1/2]

void ann::Operand::weight ( const Weight weight)
inline

Definition at line 38 of file Operand.h.

38{ _weight = weight; }
const Weight * weight(void) const
Definition Operand.h:37

References weight().

Referenced by weight().

◆ weight() [2/2]

const Weight * ann::Operand::weight ( void  ) const
inline

Definition at line 37 of file Operand.h.

37{ return _weight; }

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