ONE - On-device Neural Engine
|
Base of general single output graph builder(e.g., Conv2DGraphBuilder) More...
#include <GraphBuilder.h>
Public Member Functions | |
virtual | ~GraphBuilder ()=default |
bool | validate (const ValidateArgs &args, size_t input_cnt) const |
CircleNode * | build (const circle::OperatorT &op, GraphBuilderContext *context) const final |
Public Member Functions inherited from luci::GraphBuilderBase | |
virtual bool | validate (const ValidateArgs &) const =0 |
virtual | ~GraphBuilderBase ()=default |
Base of general single output graph builder(e.g., Conv2DGraphBuilder)
Definition at line 31 of file GraphBuilder.h.
|
virtualdefault |
|
finalvirtual |
Implements luci::GraphBuilderBase.
Definition at line 24 of file GraphBuilder.cpp.
References luci::copy_tensor_attributes(), loco::NodePool::create(), luci::IndexNodeFinder::enroll(), luci::GraphBuilderContext::graph(), INFO, LOGGER, luci::IndexNodeFinder::node(), luci::GraphBuilderContext::nodefinder(), loco::Graph::nodes(), luci::NOSHAPE, luci::CircleNode::op_version(), luci::CircleReader::opcodes(), luci::GraphBuilderContext::reader(), luci::CircleNode::shape_status(), luci::CircleReader::tensors(), and luci::VALID.
|
inline |
Definition at line 37 of file GraphBuilder.h.
Referenced by luci::CircleAbsGraphBuilder::validate(), luci::CircleAddGraphBuilder::validate(), luci::CircleArgMaxGraphBuilder::validate(), luci::CircleArgMinGraphBuilder::validate(), luci::CircleAveragePool2DGraphBuilder::validate(), luci::CircleBatchMatMulGraphBuilder::validate(), luci::CircleBCQFullyConnectedGraphBuilder::validate(), luci::CircleBCQGatherGraphBuilder::validate(), luci::CircleBroadcastToGraphBuilder::validate(), luci::CircleCastGraphBuilder::validate(), luci::CircleCeilGraphBuilder::validate(), luci::CircleConv2DGraphBuilder::validate(), luci::CircleCosGraphBuilder::validate(), luci::CircleCumSumGraphBuilder::validate(), luci::CircleDensifyGraphBuilder::validate(), luci::CircleDepthToSpaceGraphBuilder::validate(), luci::CircleDequantizeGraphBuilder::validate(), luci::CircleEluGraphBuilder::validate(), luci::CircleEqualGraphBuilder::validate(), luci::CircleExpGraphBuilder::validate(), luci::CircleExpandDimsGraphBuilder::validate(), luci::CircleFakeQuantGraphBuilder::validate(), luci::CircleFillGraphBuilder::validate(), luci::CircleFloorGraphBuilder::validate(), luci::CircleFloorDivGraphBuilder::validate(), luci::CircleFloorModGraphBuilder::validate(), luci::CircleFullyConnectedGraphBuilder::validate(), luci::CircleGatherGraphBuilder::validate(), luci::CircleGatherNdGraphBuilder::validate(), luci::CircleGeluGraphBuilder::validate(), luci::CircleGreaterGraphBuilder::validate(), luci::CircleGreaterEqualGraphBuilder::validate(), luci::CircleGRUGraphBuilder::validate(), luci::CircleHardSwishGraphBuilder::validate(), luci::CircleInstanceNormGraphBuilder::validate(), luci::CircleL2NormalizeGraphBuilder::validate(), luci::CircleL2Pool2DGraphBuilder::validate(), luci::CircleLeakyReluGraphBuilder::validate(), luci::CircleLessGraphBuilder::validate(), luci::CircleLessEqualGraphBuilder::validate(), luci::CircleLocalResponseNormalizationGraphBuilder::validate(), luci::CircleLogGraphBuilder::validate(), luci::CircleLogicalAndGraphBuilder::validate(), luci::CircleLogicalNotGraphBuilder::validate(), luci::CircleLogicalOrGraphBuilder::validate(), luci::CircleLogisticGraphBuilder::validate(), luci::CircleLogSoftmaxGraphBuilder::validate(), luci::CircleMatrixDiagGraphBuilder::validate(), luci::CircleMatrixSetDiagGraphBuilder::validate(), luci::CircleMaxPool2DGraphBuilder::validate(), luci::CircleMeanGraphBuilder::validate(), luci::CircleMirrorPadGraphBuilder::validate(), luci::CircleMulGraphBuilder::validate(), luci::CircleNegGraphBuilder::validate(), luci::CircleNotEqualGraphBuilder::validate(), luci::CircleOneHotGraphBuilder::validate(), luci::CirclePadGraphBuilder::validate(), luci::CirclePadV2GraphBuilder::validate(), luci::CirclePowGraphBuilder::validate(), luci::CirclePReluGraphBuilder::validate(), luci::CircleQuantizeGraphBuilder::validate(), luci::CircleRangeGraphBuilder::validate(), luci::CircleRankGraphBuilder::validate(), luci::CircleReduceAnyGraphBuilder::validate(), luci::CircleReduceProdGraphBuilder::validate(), luci::CircleReluGraphBuilder::validate(), luci::CircleRelu0To1GraphBuilder::validate(), luci::CircleRelu6GraphBuilder::validate(), luci::CircleReluN1To1GraphBuilder::validate(), luci::CircleResizeBilinearGraphBuilder::validate(), luci::CircleResizeNearestNeighborGraphBuilder::validate(), luci::CircleReverseSequenceGraphBuilder::validate(), luci::CircleReverseV2GraphBuilder::validate(), luci::CircleRmsNormGraphBuilder::validate(), luci::CircleRoPEGraphBuilder::validate(), luci::CircleRoundGraphBuilder::validate(), luci::CircleRsqrtGraphBuilder::validate(), luci::CircleScatterNdGraphBuilder::validate(), luci::CircleSegmentSumGraphBuilder::validate(), luci::CircleSelectGraphBuilder::validate(), luci::CircleSelectV2GraphBuilder::validate(), luci::CircleShapeGraphBuilder::validate(), luci::CircleSinGraphBuilder::validate(), luci::CircleSliceGraphBuilder::validate(), luci::CircleSoftmaxGraphBuilder::validate(), luci::CircleSpaceToDepthGraphBuilder::validate(), luci::CircleSparseToDenseGraphBuilder::validate(), luci::CircleSqrtGraphBuilder::validate(), luci::CircleSquareGraphBuilder::validate(), luci::CircleSquaredDifferenceGraphBuilder::validate(), luci::CircleSqueezeGraphBuilder::validate(), luci::CircleStridedSliceGraphBuilder::validate(), luci::CircleSubGraphBuilder::validate(), luci::CircleSumGraphBuilder::validate(), luci::CircleTanhGraphBuilder::validate(), luci::CircleTileGraphBuilder::validate(), luci::CircleTransposeGraphBuilder::validate(), luci::CircleUnidirectionalSequenceLSTMGraphBuilder::validate(), luci::CircleWhereGraphBuilder::validate(), and luci::CircleZerosLikeGraphBuilder::validate().