ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nest::VarContext Class Reference

#include <VarContext.h>

Public Member Functions

uint32_t count (void) const
 
Var make (void)
 
Boundbound (const Var &)
 
const Boundbound (const Var &) const
 

Detailed Description

Definition at line 28 of file VarContext.h.

Member Function Documentation

◆ bound() [1/2]

Bound & nest::VarContext::bound ( const Var var)

Definition at line 33 of file VarContext.cpp.

33{ return _bound.at(var.id().value()); }

References nest::Var::id(), and nest::VarID::value().

◆ bound() [2/2]

const Bound & nest::VarContext::bound ( const Var var) const

Definition at line 34 of file VarContext.cpp.

34{ return _bound.at(var.id().value()); }

References nest::Var::id(), and nest::VarID::value().

◆ count()

uint32_t nest::VarContext::count ( void  ) const

Definition at line 22 of file VarContext.cpp.

22{ return _bound.size(); }

Referenced by make(), and nest::Schedule::Schedule().

◆ make()

Var nest::VarContext::make ( void  )

Definition at line 24 of file VarContext.cpp.

25{
26 const VarID vid{count()};
27
28 _bound.emplace_back(0, 0);
29
30 return Var{vid};
31}
uint32_t count(void) const

References count().


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