ember.cpp 0.1.0
C++ inference engine for Llama-family and paperkiln models (CPU, CUDA, WebAssembly)
Loading...
Searching...
No Matches
ember_ir::Interpreter::AppIndex Struct Reference
Collaboration diagram for ember_ir::Interpreter::AppIndex:
Collaboration graph

Public Member Functions

 AppIndex (bool &f, const Node &n)
 
 ~AppIndex ()
 

Public Attributes

bool & flag
 
bool saved
 

Detailed Description

Definition at line 256 of file graph_ir.h.

Constructor & Destructor Documentation

◆ AppIndex()

ember_ir::Interpreter::AppIndex::AppIndex ( bool &  f,
const Node &  n 
)
inline

Definition at line 259 of file graph_ir.h.

259: flag(f), saved(f) { flag = n.attrs.contains("tensor_index"); }
int n
size_t j

References flag, and n.

◆ ~AppIndex()

ember_ir::Interpreter::AppIndex::~AppIndex ( )
inline

Definition at line 260 of file graph_ir.h.

260{ flag = saved; }

References flag, and saved.

Member Data Documentation

◆ flag

bool& ember_ir::Interpreter::AppIndex::flag

Definition at line 257 of file graph_ir.h.

Referenced by AppIndex(), and ~AppIndex().

◆ saved

bool ember_ir::Interpreter::AppIndex::saved

Definition at line 258 of file graph_ir.h.

Referenced by ~AppIndex().


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