ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nnc::sir::Action Struct Reference

Action represents operation in inference sequence that is needed to. More...

#include <SequencedIR.h>

Public Types

enum class  Type { createTmp , destroyTmp , callFunction , transposeTensor }
 

Public Member Functions

 Action (Type t)
 
virtual ~Action ()=default
 

Data Fields

Type type
 

Detailed Description

Action represents operation in inference sequence that is needed to.

Definition at line 66 of file SequencedIR.h.

Member Enumeration Documentation

◆ Type

enum class nnc::sir::Action::Type
strong

Defines which type of action to perform createTmp responsible for creation of temporary tensor in inference sequence destroyTmp responsible for deletion of temporary tensor transpose

Enumerator
createTmp 
destroyTmp 
callFunction 
transposeTensor 

Definition at line 75 of file SequencedIR.h.

Constructor & Destructor Documentation

◆ Action()

nnc::sir::Action::Action ( Type  t)
inlineexplicit

Definition at line 83 of file SequencedIR.h.

83: type(t) {}

◆ ~Action()

virtual nnc::sir::Action::~Action ( )
virtualdefault

Field Documentation

◆ type

Type nnc::sir::Action::type

Definition at line 87 of file SequencedIR.h.


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