ONE - On-device Neural Engine
Loading...
Searching...
No Matches
ann::TensorOperand Struct Referencefinal

Plain (non-qunatized) Tensor Operand. More...

#include <Operand.h>

Collaboration diagram for ann::TensorOperand:

Public Member Functions

 TensorOperand (const nncc::core::ADT::tensor::Shape &shape)
 
const nncc::core::ADT::tensor::Shapeshape (void) const
 
- Public Member Functions inherited from ann::Operand
virtual ~Operand ()=default
 
DType dtype (void) const
 
void dtype (const DType &dtype)
 
const Weightweight (void) const
 
void weight (const Weight *weight)
 

Detailed Description

Plain (non-qunatized) Tensor Operand.

Definition at line 65 of file Operand.h.

Constructor & Destructor Documentation

◆ TensorOperand()

ann::TensorOperand::TensorOperand ( const nncc::core::ADT::tensor::Shape shape)
inline

Definition at line 68 of file Operand.h.

68 : _shape{shape}
69 {
70 // DO NOTHING
71 }
const nncc::core::ADT::tensor::Shape & shape(void) const
Definition Operand.h:74

Member Function Documentation

◆ shape()

const nncc::core::ADT::tensor::Shape & ann::TensorOperand::shape ( void  ) const
inline

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