/dports/misc/mnn/MNN-1.2.0/tools/converter/source/optimizer/merge/ |
H A D | EliminateSqueezeExpandDims.cpp | 31 const Op* inputOp = input->expr().first->get(); in EliminateSqueezeExpandDims() local 32 if (inputOp == nullptr) { in EliminateSqueezeExpandDims() 41 if (inputOp->type() != OpType_ExpandDims) { in EliminateSqueezeExpandDims() 45 int expandDim = inputOp->main_as_ExpandDims()->axis(); in EliminateSqueezeExpandDims() 55 if (inputOp->type() != OpType_Squeeze) { in EliminateSqueezeExpandDims() 58 auto squeezeDims = inputOp->main_as_SqueezeParam()->squeezeDims(); in EliminateSqueezeExpandDims()
|
H A D | TensorConverterMerge.cpp | 121 auto inputOp = inputExpr->get(); in __anon83ccdd5d0102() local 122 if (inputOp->type() != OpType_ConvertTensor) { in __anon83ccdd5d0102() 227 auto inputOp = inputs[i]->expr().first->get(); in __anon83ccdd5d0102() local 228 if (nullptr == inputOp) { in __anon83ccdd5d0102() 231 if (inputOp->type() != OpType_ConvertTensor) { in __anon83ccdd5d0102()
|
/dports/misc/mnn/MNN-1.2.0/tools/converter/source/torch/ |
H A D | torchOpConverter.cpp | 181 MNN::OpT* inputOp = new MNN::OpT; in addSubGraph() local 182 inputOp->name = inputName; in addSubGraph() 183 inputOp->type = MNN::OpType_Input; in addSubGraph() 184 inputOp->main.type = MNN::OpParameter_Input; in addSubGraph() 188 inputOp->main.value = param; in addSubGraph() 190 inputOp->outputIndexes.push_back(idx); in addSubGraph() 191 subgraph->nodes.emplace_back(inputOp); in addSubGraph()
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/gotools/src/github.com/mongodb/mongo-tools/mongoreplay/ |
H A D | mongoreplay_test.go | 316 inputOp mgo.MsgOp 323 inputOp: mgo.MsgOp{ 336 inputOp: mgo.MsgOp{ 353 inputOp: mgo.MsgOp{ 367 inputOp: mgo.MsgOp{ 409 case msgOp.Flags != testCase.inputOp.Flags: 411 msgOp.Flags, testCase.inputOp.Flags) 413 case msgOp.Checksum != testCase.inputOp.Checksum: 415 msgOp.Checksum, testCase.inputOp.Checksum) 418 len(msgOp.Sections), len(testCase.inputOp.Sections)) [all …]
|
/dports/databases/mongodb42-tools/mongo-tools-r4.2.17/mongoreplay/ |
H A D | mongoreplay_test.go | 325 inputOp mgo.MsgOp 332 inputOp: mgo.MsgOp{ 345 inputOp: mgo.MsgOp{ 362 inputOp: mgo.MsgOp{ 376 inputOp: mgo.MsgOp{ 418 case msgOp.Flags != testCase.inputOp.Flags: 420 msgOp.Flags, testCase.inputOp.Flags) 422 case msgOp.Checksum != testCase.inputOp.Checksum: 424 msgOp.Checksum, testCase.inputOp.Checksum) 427 len(msgOp.Sections), len(testCase.inputOp.Sections)) [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/IR/ |
H A D | BuiltinDialect.cpp | 301 auto inputOp = firstInput.getDefiningOp<UnrealizedConversionCastOp>(); in fold() local 302 if (!inputOp || inputOp.getResults() != operands || in fold() 303 inputOp.getOperandTypes() != results.getTypes()) in fold() 307 foldResults.append(inputOp->operand_begin(), inputOp->operand_end()); in fold()
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/lib/IR/ |
H A D | BuiltinDialect.cpp | 256 auto inputOp = firstInput.getDefiningOp<UnrealizedConversionCastOp>(); in fold() local 257 if (!inputOp || inputOp.getResults() != operands || in fold() 258 inputOp.getOperandTypes() != results.getTypes()) in fold() 262 foldResults.append(inputOp->operand_begin(), inputOp->operand_end()); in fold()
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/lib/IR/ |
H A D | BuiltinDialect.cpp | 301 auto inputOp = firstInput.getDefiningOp<UnrealizedConversionCastOp>(); in fold() local 302 if (!inputOp || inputOp.getResults() != operands || in fold() 303 inputOp.getOperandTypes() != results.getTypes()) in fold() 307 foldResults.append(inputOp->operand_begin(), inputOp->operand_end()); in fold()
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/IR/ |
H A D | BuiltinDialect.cpp | 301 auto inputOp = firstInput.getDefiningOp<UnrealizedConversionCastOp>(); in fold() local 302 if (!inputOp || inputOp.getResults() != operands || in fold() 303 inputOp.getOperandTypes() != results.getTypes()) in fold() 307 foldResults.append(inputOp->operand_begin(), inputOp->operand_end()); in fold()
|
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/lib/IR/ |
H A D | BuiltinDialect.cpp | 256 auto inputOp = firstInput.getDefiningOp<UnrealizedConversionCastOp>(); in fold() local 257 if (!inputOp || inputOp.getResults() != operands || in fold() 258 inputOp.getOperandTypes() != results.getTypes()) in fold() 262 foldResults.append(inputOp->operand_begin(), inputOp->operand_end()); in fold()
|
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/lib/IR/ |
H A D | BuiltinDialect.cpp | 301 auto inputOp = firstInput.getDefiningOp<UnrealizedConversionCastOp>(); in fold() local 302 if (!inputOp || inputOp.getResults() != operands || in fold() 303 inputOp.getOperandTypes() != results.getTypes()) in fold() 307 foldResults.append(inputOp->operand_begin(), inputOp->operand_end()); in fold()
|
/dports/misc/mnn/MNN-1.2.0/tools/converter/source/tflite/ |
H A D | liteConverter.cpp | 150 MNN::OpT* inputOp = new MNN::OpT; in tflite2MNNNet() local 152 inputOp->name = inputTensor->name; in tflite2MNNNet() 153 inputOp->type = MNN::OpType_Input; in tflite2MNNNet() 154 inputOp->main.type = MNN::OpParameter_Input; in tflite2MNNNet() 160 inputOp->main.value = inputParam; in tflite2MNNNet() 161 inputOp->outputIndexes.push_back(index); in tflite2MNNNet() 162 MNNNetT->oplists.emplace_back(inputOp); in tflite2MNNNet()
|
/dports/misc/mnn/MNN-1.2.0/tools/converter/source/optimizer/postconvert/ |
H A D | AddTensorFormatConverter.cpp | 259 MNN::OpT* inputOp = PostTreatUtils::_findOpByOutputIndex(inputIndex, mNet.get()); in onExecute() local 260 if (inputOp && inputOp->type == MNN::OpType_Input && useAutoFormat) { in onExecute() 261 auto inputOpParam = inputOp->main.AsInput(); in onExecute() 264 opType[inputOp->name] = MNN::MNN_DATA_FORMAT_NC4HW4; in onExecute()
|
/dports/misc/mnn/MNN-1.2.0/express/module/ |
H A D | PipelineModule.cpp | 455 std::unique_ptr<OpT> inputOp(new OpT); in _createSubModule() local 456 inputOp->outputIndexes = {index}; in _createSubModule() 457 inputOp->type = OpType_Input; in _createSubModule() 458 inputOp->main.type = OpParameter_Input; in _createSubModule() 459 inputOp->main.value = new InputT; in _createSubModule() 460 inputOp->main.AsInput()->dims = {0, 0, -1, -1}; in _createSubModule() 461 _tempNet->oplists.emplace_back(std::move(inputOp)); in _createSubModule()
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/test/Conversion/PDLToPDLInterp/ |
H A D | pdl-to-pdl-interp-matcher.mlir | 256 %inputOp = pdl.operation -> (%type1, %type2 : !pdl.type, !pdl.type) 257 %result1 = pdl.result 0 of %inputOp 258 %result2 = pdl.result 1 of %inputOp 278 %inputOp = pdl.operation -> (%types : !pdl.range<type>) 279 %results = pdl.results of %inputOp
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/test/Conversion/PDLToPDLInterp/ |
H A D | pdl-to-pdl-interp-matcher.mlir | 256 %inputOp = pdl.operation -> (%type1, %type2 : !pdl.type, !pdl.type) 257 %result1 = pdl.result 0 of %inputOp 258 %result2 = pdl.result 1 of %inputOp 278 %inputOp = pdl.operation -> (%types : !pdl.range<type>) 279 %results = pdl.results of %inputOp
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/test/Conversion/PDLToPDLInterp/ |
H A D | pdl-to-pdl-interp-matcher.mlir | 256 %inputOp = pdl.operation -> (%type1, %type2 : !pdl.type, !pdl.type) 257 %result1 = pdl.result 0 of %inputOp 258 %result2 = pdl.result 1 of %inputOp 278 %inputOp = pdl.operation -> (%types : !pdl.range<type>) 279 %results = pdl.results of %inputOp
|
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/test/Conversion/PDLToPDLInterp/ |
H A D | pdl-to-pdl-interp-matcher.mlir | 256 %inputOp = pdl.operation -> (%type1, %type2 : !pdl.type, !pdl.type) 257 %result1 = pdl.result 0 of %inputOp 258 %result2 = pdl.result 1 of %inputOp 278 %inputOp = pdl.operation -> (%types : !pdl.range<type>) 279 %results = pdl.results of %inputOp
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/mlir/lib/Dialect/Shape/IR/ |
H A D | Shape.cpp | 323 if (auto inputOp = input.getDefiningOp<ShapeOfOp>()) { in getShapeVec() local 324 auto type = inputOp.arg().getType().dyn_cast<ShapedType>(); in getShapeVec() 329 } else if (auto inputOp = input.getDefiningOp<ConstShapeOp>()) { in getShapeVec() local 330 shapeValues = llvm::to_vector<6>(inputOp.shape().getValues<int64_t>()); in getShapeVec()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/mlir/lib/Dialect/Shape/IR/ |
H A D | Shape.cpp | 404 if (auto inputOp = input.getDefiningOp<ShapeOfOp>()) { in getShapeVec() local 405 auto type = inputOp.arg().getType().dyn_cast<ShapedType>(); in getShapeVec() 410 } else if (auto inputOp = input.getDefiningOp<ConstShapeOp>()) { in getShapeVec() local 411 shapeValues = llvm::to_vector<6>(inputOp.shape().getValues<int64_t>()); in getShapeVec()
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/lib/Dialect/Shape/IR/ |
H A D | Shape.cpp | 44 if (auto inputOp = input.getDefiningOp<ShapeOfOp>()) { in getShapeVec() local 45 auto type = inputOp.arg().getType().dyn_cast<ShapedType>(); in getShapeVec() 50 } else if (auto inputOp = input.getDefiningOp<ConstShapeOp>()) { in getShapeVec() local 51 shapeValues = llvm::to_vector<6>(inputOp.shape().getValues<int64_t>()); in getShapeVec() 53 } else if (auto inputOp = input.getDefiningOp<ConstantOp>()) { in getShapeVec() local 55 inputOp.value().cast<DenseIntElementsAttr>().getValues<int64_t>()); in getShapeVec()
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/Dialect/Shape/IR/ |
H A D | Shape.cpp | 44 if (auto inputOp = input.getDefiningOp<ShapeOfOp>()) { in getShapeVec() local 45 auto type = inputOp.arg().getType().dyn_cast<ShapedType>(); in getShapeVec() 50 } else if (auto inputOp = input.getDefiningOp<ConstShapeOp>()) { in getShapeVec() local 51 shapeValues = llvm::to_vector<6>(inputOp.shape().getValues<int64_t>()); in getShapeVec() 53 } else if (auto inputOp = input.getDefiningOp<ConstantOp>()) { in getShapeVec() local 55 inputOp.value().cast<DenseIntElementsAttr>().getValues<int64_t>()); in getShapeVec()
|
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/lib/Dialect/Shape/IR/ |
H A D | Shape.cpp | 44 if (auto inputOp = input.getDefiningOp<ShapeOfOp>()) { in getShapeVec() local 45 auto type = inputOp.arg().getType().dyn_cast<ShapedType>(); in getShapeVec() 50 } else if (auto inputOp = input.getDefiningOp<ConstShapeOp>()) { in getShapeVec() local 51 shapeValues = llvm::to_vector<6>(inputOp.shape().getValues<int64_t>()); in getShapeVec() 53 } else if (auto inputOp = input.getDefiningOp<ConstantOp>()) { in getShapeVec() local 55 inputOp.value().cast<DenseIntElementsAttr>().getValues<int64_t>()); in getShapeVec()
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/lib/Dialect/Shape/IR/ |
H A D | Shape.cpp | 458 if (auto inputOp = input.getDefiningOp<ShapeOfOp>()) { in getShapeVec() local 459 auto type = inputOp.arg().getType().dyn_cast<ShapedType>(); in getShapeVec() 464 } else if (auto inputOp = input.getDefiningOp<ConstShapeOp>()) { in getShapeVec() local 465 shapeValues = llvm::to_vector<6>(inputOp.shape().getValues<int64_t>()); in getShapeVec()
|
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/lib/Dialect/Shape/IR/ |
H A D | Shape.cpp | 458 if (auto inputOp = input.getDefiningOp<ShapeOfOp>()) { in getShapeVec() local 459 auto type = inputOp.arg().getType().dyn_cast<ShapedType>(); in getShapeVec() 464 } else if (auto inputOp = input.getDefiningOp<ConstShapeOp>()) { in getShapeVec() local 465 shapeValues = llvm::to_vector<6>(inputOp.shape().getValues<int64_t>()); in getShapeVec()
|