ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nest::Block Struct Reference

#include <Block.h>

Public Member Functions

uint32_t size (void) const
 
const Stmtat (uint32_t n) const
 
void append (const Stmt &stmt)
 

Detailed Description

Definition at line 29 of file Block.h.

Member Function Documentation

◆ append()

void nest::Block::append ( const Stmt stmt)
inline

Definition at line 38 of file Block.h.

38{ _stmts.emplace_back(stmt); }

Referenced by nest::Module::push().

◆ at()

const Stmt & nest::Block::at ( uint32_t  n) const
inline

Definition at line 35 of file Block.h.

35{ return _stmts.at(n); }

◆ size()

uint32_t nest::Block::size ( void  ) const
inline

Definition at line 32 of file Block.h.

32{ return _stmts.size(); }

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