ONE - On-device Neural Engine
|
Represents a variable. More...
#include <ArtifactModel.h>
Public Member Functions | |
ArtifactVariable (std::string type_name, std::string var_name, std::list< std::shared_ptr< ArtifactExpr > > dimensions={}, std::list< std::shared_ptr< ArtifactExpr > > initializers={}) | |
void | accept (IArtifactGenerator *g) const override |
This is the core function of each artifact entity and is implemented by all concrete classes in the hierarchy. | |
const std::string & | typeName () const |
const std::list< std::shared_ptr< ArtifactExpr > > & | getDimensions () const |
const std::list< std::shared_ptr< ArtifactExpr > > & | getInitializers () const |
std::shared_ptr< ArtifactId > | use () |
Public Member Functions inherited from nnc::ArtifactNamed | |
ArtifactNamed (std::string name) | |
const std::string & | name () const |
Public Member Functions inherited from nnc::ArtifactEntity | |
virtual | ~ArtifactEntity ()=default |
virtual bool | isBlock () const |
If this entity represents something containing a block of instructions. | |
Additional Inherited Members | |
Protected Member Functions inherited from nnc::ArtifactEntity | |
ArtifactEntity ()=default | |
Represents a variable.
Definition at line 325 of file ArtifactModel.h.
|
inline |
Definition at line 328 of file ArtifactModel.h.
|
inlineoverridevirtual |
This is the core function of each artifact entity and is implemented by all concrete classes in the hierarchy.
Implements nnc::ArtifactEntity.
Definition at line 336 of file ArtifactModel.h.
|
inline |
Definition at line 339 of file ArtifactModel.h.
Referenced by nnc::ArtifactGeneratorCppCode::visit().
|
inline |
Definition at line 340 of file ArtifactModel.h.
Referenced by nnc::ArtifactGeneratorCppCode::visit(), and nnc::ArtifactGeneratorCppCode::visit().
|
inline |
Definition at line 338 of file ArtifactModel.h.
Referenced by nnc::ArtifactGeneratorCppDecl::visit(), nnc::ArtifactGeneratorCppCode::visit(), and nnc::ArtifactGeneratorCppDecl::visit().
|
inline |
Definition at line 341 of file ArtifactModel.h.