ONE - On-device Neural Engine
|
GraphBuilder for Constant(since version 9) node. More...
#include <Constant.h>
Public Member Functions | |
bool | validate (const ::onnx::NodeProto &) const |
void | build (const ::onnx::NodeProto &, GraphBuilderContext *) const |
GraphBuilder for Constant(since version 9) node.
Definition at line 41 of file Constant.h.
void moco::onnx::Constant_V9::build | ( | const ::onnx::NodeProto & | node, |
GraphBuilderContext * | context | ||
) | const |
Definition at line 35 of file Constant_V9.cpp.
References moco::onnx::as_loco_datatype(), loco::ConstGen::at(), moco::onnx::SymbolTable::enroll(), moco::onnx::GraphBuilderContext::graph(), and moco::onnx::GraphBuilderContext::nodes().
Referenced by moco::onnx::ConstantGraphBuilder::build().
bool moco::onnx::Constant_V9::validate | ( | const ::onnx::NodeProto & | node | ) | const |
Definition at line 27 of file Constant_V9.cpp.
Referenced by moco::onnx::ConstantGraphBuilder::validate().