Home
last modified time | relevance | path

Searched refs:OpType_Const (Results 1 – 25 of 28) sorted by relevance

12

/dports/misc/mnn/MNN-1.2.0/source/geometry/
H A DGeometryComputerUtils.cpp57 if (info.op->type() != OpType_Const) { in buildConstantTensors()
91 if (info.op->type() == OpType_Const) { in buildConstantTensors()
114 if (info.op->type() == OpType_Const) { in buildConstantTensors()
160 if (info.op->type() == OpType_Const) { in buildConstantTensors()
182 if (info.op->type() == OpType_Const) { in shapeComputeAndGeometryTransform()
/dports/misc/mnn/MNN-1.2.0/tools/converter/source/tensorflow/
H A DConstTf.cpp18 return MNN::OpType_Const; in opType()
H A DOpMapper.hpp25 {"Const", MNN::OpType_Const}, // Not All Const op to MNN!!!
/dports/misc/mnn/MNN-1.2.0/tools/converter/source/onnx/
H A DConstantOnnx.cpp14 return MNN::OpType_Const; in opType()
H A DonnxConverter.cpp107 constOp->type = MNN::OpType_Const; in onnx2MNNNet()
/dports/misc/mnn/MNN-1.2.0/source/shape/
H A DShapeConst.cpp39 REGISTER_SHAPE(ConstComputer, OpType_Const);
/dports/misc/mnn/MNN-1.2.0/tools/converter/source/optimizer/postconvert/
H A DTransformOnnxPad.cpp18 paddingConst->type = OpType_Const; in onExecute()
H A DAddTensorType.cpp38 if (op->type == MNN::OpType_Const) { in onExecute()
H A DTransformShuffleChannel.cpp44 constOp->type = OpType_Const; in onExecute()
H A DAddTensorFormatConverter.cpp78 case OpType_Const: in _OpNeedConvertContent()
215 gatherIndex->type = OpType_Const; in onExecute()
/dports/misc/mnn/MNN-1.2.0/tools/converter/source/optimizer/merge/
H A DConstantFolding.cpp33 if ((input_op && input_op->type() != OpType_Const) || in ConstantFolding()
H A DMergeHelpers.cpp15 if ((op && op->type() == OpType_Const) || (!op && expr->inputType() == VARP::CONSTANT)) { in IsConstant()
/dports/misc/mnn/MNN-1.2.0/tools/train/source/exec/
H A DdataTransformer.cpp111 newOp->type = OpType_Const; in main()
143 newOp->type = OpType_Const; in main()
H A DrawDataTransform.cpp53 newOp->type = OpType_Const; in main()
H A Dtrain.cpp108 MNN_ASSERT(OpType_Const == netC->oplists()->GetAs<Op>(i)->type()); in main()
/dports/misc/mnn/MNN-1.2.0/source/backend/cpu/
H A DCPUConst.cpp56 REGISTER_CPU_OP_CREATOR(CPUConstCreator, OpType_Const);
/dports/misc/mnn/MNN-1.2.0/tools/converter/source/torch/
H A DConstantTorch.cpp15 return MNN::OpType_Const; in opType()
/dports/misc/mnn/MNN-1.2.0/tools/converter/source/tflite/
H A DliteConverter.cpp48 mnnConstantOp->type = MNN::OpType_Const; in _converteConstantDataToMNNConstantNode()
190 newOp->type = MNN::OpType_Const; in tflite2MNNNet()
/dports/misc/mnn/MNN-1.2.0/tools/train/source/transformer/
H A DOpConverter.cpp52 weight->type = OpType_Const; in convert()
/dports/misc/mnn/MNN-1.2.0/tools/converter/source/optimizer/
H A DPostConverter.cpp305 if (op->type == MNN::OpType_Const) { in fuseConstIntoSubgraph()
343 subOp->type = MNN::OpType_Const; in fuseConstIntoSubgraph()
/dports/misc/mnn/MNN-1.2.0/source/core/
H A DSession.cpp243 …ge() == Usage_INFERENCE || net->usage() == Usage_INFERENCE_STATIC) && op->type() != OpType_Const) { in updateToModel()
H A DSchedule.cpp96 if (OpType_Const == op->type()) { in _setUpTensorInfo()
H A DOpCommonUtils.cpp325 case OpType_Const: in opNeedContent()
/dports/misc/mnn/MNN-1.2.0/tools/converter/source/common/
H A DconvertToStaticModel.cpp67 op->type = OpType_Const; in genStaticModel()
/dports/misc/mnn/MNN-1.2.0/express/
H A DExpr.cpp208 if (OpType_Const == op->type || OpType_TrainableParam == op->type) { in create()
870 op->type = OpType_Const; in save()

12