/frameworks/ml/nn/tools/test_generator/tests/P_internal/ |
D | stdout.txt.expect | 20 auto o0 = model->addOperand(&type0); 21 auto o1 = model->addOperand(&type0); 22 auto act = model->addOperand(&type1); 23 auto o2 = model->addOperand(&type0); 24 auto p0 = model->addOperand(&type0); 25 auto t5 = model->addOperand(&type0); 26 auto t6 = model->addOperand(&type0); 27 auto i2 = model->addOperand(&type0); 28 auto t0 = model->addOperand(&type0); 29 auto t1 = model->addOperand(&type0); [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_backward_compatibility_float/ |
D | stdout.txt.expect | 28 auto input = model->addOperand(&type0); 29 auto input_to_input_weights = model->addOperand(&type1); 30 auto input_to_forget_weights = model->addOperand(&type1); 31 auto input_to_cell_weights = model->addOperand(&type1); 32 auto input_to_output_weights = model->addOperand(&type1); 33 auto recurrent_to_intput_weights = model->addOperand(&type2); 34 auto recurrent_to_forget_weights = model->addOperand(&type2); 35 auto recurrent_to_cell_weights = model->addOperand(&type2); 36 auto recurrent_to_output_weights = model->addOperand(&type2); 37 auto cell_to_input_weights = model->addOperand(&type3); [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_variation/ |
D | stdout.txt.expect | 22 auto op1 = model->addOperand(&type0); 23 auto op2 = model->addOperand(&type1); 24 auto op3 = model->addOperand(&type2); 25 auto param = model->addOperand(&type3); 26 auto param1 = model->addOperand(&type3); 27 auto param2 = model->addOperand(&type3); 28 auto act = model->addOperand(&type3); 29 auto layout = model->addOperand(&type3); 30 auto op4 = model->addOperand(&type0); 95 auto op1 = model->addOperand(&type0); [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_implicit_variation/ |
D | stdout.txt.expect | 22 auto op1 = model->addOperand(&type0); 23 auto op2 = model->addOperand(&type1); 24 auto op3 = model->addOperand(&type2); 25 auto param = model->addOperand(&type3); 26 auto param1 = model->addOperand(&type3); 27 auto param2 = model->addOperand(&type3); 28 auto act = model->addOperand(&type3); 29 auto layout = model->addOperand(&type3); 30 auto op4 = model->addOperand(&type0); 95 auto op1 = model->addOperand(&type0); [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_naming/ |
D | stdout.txt.expect | 22 auto op1 = model->addOperand(&type0); 23 auto op2 = model->addOperand(&type1); 24 auto op3 = model->addOperand(&type2); 25 auto param = model->addOperand(&type3); 26 auto param1 = model->addOperand(&type3); 27 auto param2 = model->addOperand(&type3); 28 auto act = model->addOperand(&type3); 29 auto layout = model->addOperand(&type3); 30 auto op4 = model->addOperand(&type0); 95 auto op1 = model->addOperand(&type0); [all …]
|
/frameworks/ml/nn/runtime/test/ |
D | TestMemory.cpp | 62 auto a = model.addOperand(&matrixType); in TEST_F() 63 auto b = model.addOperand(&matrixType); in TEST_F() 64 auto c = model.addOperand(&matrixType); in TEST_F() 65 auto d = model.addOperand(&matrixType); in TEST_F() 66 auto e = model.addOperand(&matrixType); in TEST_F() 67 auto f = model.addOperand(&scalarType); in TEST_F() 120 auto a = model.addOperand(&matrixType); in TEST_F() 121 auto b = model.addOperand(&matrixType); in TEST_F() 122 auto c = model.addOperand(&matrixType); in TEST_F() 123 auto d = model.addOperand(&matrixType); in TEST_F() [all …]
|
D | TestCompliance.cpp | 94 auto op1 = model.addOperand(&kTypeTensorFloatRank0); in TEST_F() 95 auto op2 = model.addOperand(&kTypeTensorFloatRank0); in TEST_F() 96 auto op3 = model.addOperand(&kTypeTensorFloat); in TEST_F() 108 auto op1 = model.addOperand(&kTypeTensorFloat); in TEST_F() 109 auto op2 = model.addOperand(&kTypeTensorFloat); in TEST_F() 110 auto op3 = model.addOperand(&kTypeTensorFloatRank0); in TEST_F() 122 auto op1 = model.addOperand(&kTypeTensorFloat); in TEST_F() 123 auto op2 = model.addOperand(&kTypeTensorFloat); in TEST_F() 124 auto op3 = model.addOperand(&kTypeTensorFloatRank0); in TEST_F() 125 auto op4 = model.addOperand(&kTypeTensorFloat); in TEST_F() [all …]
|
D | TestFailingDriver.cpp | 110 uint32_t f = conditionModel.addOperand(&floatType); in TEST_F() 111 uint32_t b = conditionModel.addOperand(&boolType); in TEST_F() 112 uint32_t out = conditionModel.addOperand(&boolType); in TEST_F() 121 uint32_t f = bodyModel.addOperand(&floatType); in TEST_F() 122 uint32_t b = bodyModel.addOperand(&boolType); in TEST_F() 123 uint32_t out = bodyModel.addOperand(&floatType); in TEST_F() 132 uint32_t fInput = model.addOperand(&floatType); in TEST_F() 133 uint32_t bInput = model.addOperand(&boolType); in TEST_F() 134 uint32_t fTmp = model.addOperand(&floatType); in TEST_F() 135 uint32_t fSqrt = model.addOperand(&floatType); in TEST_F() [all …]
|
D | TestControlFlow.cpp | 50 uint32_t i = conditionModel.addOperand(&counterType); in TEST_F() 51 uint32_t n = conditionModel.addOperand(&counterType); in TEST_F() 52 uint32_t out = conditionModel.addOperand(&boolType); in TEST_F() 61 uint32_t i = bodyModel.addOperand(&counterType); in TEST_F() 62 uint32_t n = bodyModel.addOperand(&counterType); in TEST_F() 65 uint32_t iOut = bodyModel.addOperand(&counterType); in TEST_F() 75 uint32_t n = model.addOperand(&counterType); in TEST_F() 78 uint32_t iOut = model.addOperand(&counterType); in TEST_F()
|
D | TestMemoryInternal.cpp | 121 auto a = model.addOperand(&matrixType); in TEST_F() 122 auto b = model.addOperand(&matrixType); in TEST_F() 123 auto c = model.addOperand(&matrixType); in TEST_F() 124 auto d = model.addOperand(&matrixType); in TEST_F() 125 auto e = model.addOperand(&matrixType); in TEST_F() 126 auto f = model.addOperand(&scalarType); in TEST_F() 197 auto op1 = model.addOperand(&type0); in TEST_F() 198 auto op2 = model.addOperand(&type1); in TEST_F() 199 auto op3 = model.addOperand(&type2); in TEST_F() 200 auto pad0 = model.addOperand(&type3); in TEST_F() [all …]
|
D | TestTrivialModel.cpp | 63 auto a = model->addOperand(&matrixType); in CreateAddTwoTensorModel() 64 auto b = model->addOperand(&matrixType); in CreateAddTwoTensorModel() 65 auto c = model->addOperand(&matrixType); in CreateAddTwoTensorModel() 78 auto a = model->addOperand(&matrixType); in CreateAddThreeTensorModel() 79 auto b = model->addOperand(&matrixType); in CreateAddThreeTensorModel() 80 auto c = model->addOperand(&matrixType); in CreateAddThreeTensorModel() 81 auto d = model->addOperand(&matrixType); in CreateAddThreeTensorModel() 82 auto e = model->addOperand(&matrixType); in CreateAddThreeTensorModel() 260 auto a = modelBroadcastAdd2.addOperand(&matrixType); in TEST_F() 261 auto b = modelBroadcastAdd2.addOperand(&matrixType2); in TEST_F() [all …]
|
D | TestUnknownDimensions.cpp | 192 auto addOperand = [&model, &getDimForCompile, scale](OperandParams params, in TestOne() local 199 return model.addOperand(&matrixTypeWithPotentiallyUnknownDims); in TestOne() 201 auto inputOpd0 = addOperand(paramsForInput0, &input0Scope); in TestOne() 202 auto inputOpd1 = addOperand(paramsForInput1, &input1Scope); in TestOne() 203 auto intermediateOpd0 = addOperand(OperandParams{ in TestOne() 207 auto constantOpd0 = addOperand(paramsForConst, &constantScope); in TestOne() 208 auto outputOpd0 = addOperand(paramsForOutput, &outputScope); in TestOne() 218 auto activationOpd0 = model.addOperand(&scalarType); in TestOne()
|
D | TestWrapper.cpp | 29 mIn = mModel.addOperand(&type); in SetUp() 30 mOut = mModel.addOperand(&type); in SetUp()
|
D | TestMemoryDomain.cpp | 151 uint32_t input0 = model.addOperand(&tensorTypeFullySpecified); in createTestModel() 152 uint32_t input1 = model.addOperand(&tensorTypeFullySpecified); in createTestModel() 153 uint32_t input2 = model.addOperand(&tensorTypeFullySpecified); in createTestModel() 154 uint32_t temp = model.addOperand(&tensorTypeFullySpecified); in createTestModel() 155 uint32_t output0 = model.addOperand(&tensorTypeFullySpecified); in createTestModel() 156 uint32_t output1 = model.addOperand(&tensorTypeDynamicShape); in createTestModel() 157 uint32_t act = model.addOperand(&actType); in createTestModel()
|
/frameworks/ml/nn/tools/test_generator/tests/P_backward_compatibility_quant8/ |
D | stdout.txt.expect | 22 auto op1 = model->addOperand(&type0); 23 auto op2 = model->addOperand(&type0); 24 auto op3 = model->addOperand(&type1); 25 auto pad0 = model->addOperand(&type2); 26 auto stride = model->addOperand(&type2); 27 auto channelMultiplier = model->addOperand(&type2); 28 auto act = model->addOperand(&type2); 29 auto op4 = model->addOperand(&type3);
|
/frameworks/ml/nn/runtime/test/fibonacci_extension/ |
D | FibonacciExtensionTest.cpp | 129 uint32_t inputZeros = model->addOperand(&inputType); in addNopOperation() 137 uint32_t activation = model->addOperand(&scalarType); in addNopOperation() 146 uint32_t fibonacciInput = model->addOperand(&inputType); in createModel() 147 uint32_t fibonacciOutput = model->addOperand(&outputType); in createModel() 149 uint32_t modelInput = addNopOperations ? model->addOperand(&inputType) : fibonacciInput; in createModel() 150 uint32_t modelOutput = addNopOperations ? model->addOperand(&outputType) : fibonacciOutput; in createModel() 283 uint32_t input1 = mModel.addOperand(&inputType); in TEST_F() 284 uint32_t input2 = mModel.addOperand(&inputType); // Extra input. in TEST_F() 285 uint32_t output = mModel.addOperand(&outputType); in TEST_F() 302 uint32_t input = mModel.addOperand(&inputType); in TEST_F() [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_float/ |
D | stdout.txt.expect | 22 auto op1 = model->addOperand(&type0); 23 auto op2 = model->addOperand(&type1); 24 auto op3 = model->addOperand(&type2); 25 auto pad0 = model->addOperand(&type3); 26 auto stride = model->addOperand(&type3); 27 auto act = model->addOperand(&type3); 28 auto op4 = model->addOperand(&type1);
|
/frameworks/ml/nn/tools/test_generator/tests/P_quant8/ |
D | stdout.txt.expect | 22 auto op1 = model->addOperand(&type0); 23 auto op2 = model->addOperand(&type1); 24 auto op3 = model->addOperand(&type2); 25 auto pad0 = model->addOperand(&type3); 26 auto stride = model->addOperand(&type3); 27 auto act = model->addOperand(&type3); 28 auto op4 = model->addOperand(&type1);
|
/frameworks/ml/nn/tools/test_generator/tests/P_implicit_parameter/ |
D | stdout.txt.expect | 25 auto i0 = model->addOperand(&type0); 26 auto param = model->addOperand(&type4); 27 auto param1 = model->addOperand(&type5); 28 auto o1 = model->addOperand(&type1); 107 auto i0 = model->addOperand(&type0); 108 auto param2 = model->addOperand(&type4); 109 auto param3 = model->addOperand(&type5); 110 auto o2 = model->addOperand(&type2); 189 auto i0 = model->addOperand(&type0); 190 auto param4 = model->addOperand(&type6); [all …]
|
/frameworks/ml/nn/common/operations/ |
D | RNNTest.cpp | 138 inputs.push_back(model_.addOperand(&InputTy)); in BasicRNNOpModel() 140 inputs.push_back(model_.addOperand(&WeightTy)); in BasicRNNOpModel() 142 inputs.push_back(model_.addOperand(&RecurrentWeightTy)); in BasicRNNOpModel() 144 inputs.push_back(model_.addOperand(&BiasTy)); in BasicRNNOpModel() 146 inputs.push_back(model_.addOperand(&HiddenStateTy)); in BasicRNNOpModel() 148 inputs.push_back(model_.addOperand(&ActionParamTy)); in BasicRNNOpModel() 152 outputs.push_back(model_.addOperand(&HiddenStateTy)); in BasicRNNOpModel() 154 outputs.push_back(model_.addOperand(&OutputTy)); in BasicRNNOpModel()
|
D | LSHProjectionTest.cpp | 51 inputs.push_back(model_.addOperand(&HashTy)); in LSHProjectionOpModel() 53 inputs.push_back(model_.addOperand(&InputTy)); in LSHProjectionOpModel() 55 inputs.push_back(model_.addOperand(&WeightTy)); in LSHProjectionOpModel() 58 inputs.push_back(model_.addOperand(&TypeParamTy)); in LSHProjectionOpModel() 81 outputs.push_back(model_.addOperand(&OutputTy)); in LSHProjectionOpModel()
|
D | HashtableLookupTest.cpp | 70 inputs.push_back(model_.addOperand(&LookupTy)); in HashtableLookupOpModel() 73 inputs.push_back(model_.addOperand(&KeyTy)); in HashtableLookupOpModel() 76 inputs.push_back(model_.addOperand(&ValueTy)); in HashtableLookupOpModel() 85 outputs.push_back(model_.addOperand(&OutputOpndTy)); in HashtableLookupOpModel() 88 outputs.push_back(model_.addOperand(&HitsOpndTy)); in HashtableLookupOpModel()
|
D | MultinomialTest.cpp | 43 inputs.push_back(model_.addOperand(&logitsType)); in MultinomialOpModel() 45 inputs.push_back(model_.addOperand(&samplesType)); in MultinomialOpModel() 47 inputs.push_back(model_.addOperand(&seedsType)); in MultinomialOpModel() 51 outputs.push_back(model_.addOperand(&outputType)); in MultinomialOpModel()
|
D | EmbeddingLookupTest.cpp | 66 inputs.push_back(model_.addOperand(&LookupTy)); in EmbeddingLookupOpModel() 69 inputs.push_back(model_.addOperand(&ValueTy)); in EmbeddingLookupOpModel() 74 outputs.push_back(model_.addOperand(&OutputOpndTy)); in EmbeddingLookupOpModel()
|
/frameworks/compile/slang/ |
D | slang_backend.cpp | 102 md->addOperand( in runOnModule() 318 PragmaMetadata->addOperand( in HandleTranslationUnit() 817 mExportVarMetadata->addOperand( in dumpExportVarInfo() 827 mRSObjectSlotsMetadata->addOperand(llvm::MDNode::get(mLLVMContext, in dumpExportVarInfo() 1044 mExportFuncMetadata->addOperand( in dumpExportFunctionInfo() 1073 mExportForEachNameMetadata->addOperand( in dumpExportForEachInfo() 1081 mExportForEachSignatureMetadata->addOperand( in dumpExportForEachInfo() 1096 auto addOperand = [&ExportReduceInfo](uint32_t Idx, llvm::Metadata *N) { in dumpExportReduceInfo() local 1104 auto addString = [&addOperand, this](uint32_t Idx, const std::string &S, in dumpExportReduceInfo() 1107 addOperand(Idx, llvm::MDString::get(mLLVMContext, S)); in dumpExportReduceInfo() [all …]
|