Home
last modified time | relevance | path

Searched refs:addOperand (Results 1 – 25 of 48) sorted by relevance

12

/packages/modules/NeuralNetworks/tools/test_generator/tests/P_variation/
Dstdout.txt.expect22 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 …]
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_naming/
Dstdout.txt.expect22 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 …]
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_implicit_variation/
Dstdout.txt.expect22 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 …]
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_backward_compatibility_float/
Dstdout.txt.expect28 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 …]
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_internal/
Dstdout.txt.expect20 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 …]
/packages/modules/NeuralNetworks/runtime/test/
DTestCompliance.cpp94 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 …]
DTestMemory.cpp63 auto a = model.addOperand(&matrixType); in TEST_F()
64 auto b = model.addOperand(&matrixType); in TEST_F()
65 auto c = model.addOperand(&matrixType); in TEST_F()
66 auto d = model.addOperand(&matrixType); in TEST_F()
67 auto e = model.addOperand(&matrixType); in TEST_F()
68 auto f = model.addOperand(&scalarType); in TEST_F()
126 auto a = model.addOperand(&matrixType); in TEST_F()
127 auto b = model.addOperand(&matrixType); in TEST_F()
128 auto c = model.addOperand(&matrixType); in TEST_F()
129 auto d = model.addOperand(&matrixType); in TEST_F()
[all …]
DTestFailingDriver.cpp109 uint32_t f = conditionModel.addOperand(&floatType); in TEST_F()
110 uint32_t b = conditionModel.addOperand(&boolType); in TEST_F()
111 uint32_t out = conditionModel.addOperand(&boolType); in TEST_F()
120 uint32_t f = bodyModel.addOperand(&floatType); in TEST_F()
121 uint32_t b = bodyModel.addOperand(&boolType); in TEST_F()
122 uint32_t out = bodyModel.addOperand(&floatType); in TEST_F()
131 uint32_t fInput = model.addOperand(&floatType); in TEST_F()
132 uint32_t bInput = model.addOperand(&boolType); in TEST_F()
133 uint32_t fTmp = model.addOperand(&floatType); in TEST_F()
134 uint32_t fSqrt = model.addOperand(&floatType); in TEST_F()
[all …]
DTestMemoryInternal.cpp120 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()
124 auto e = model.addOperand(&matrixType); in TEST_F()
125 auto f = model.addOperand(&scalarType); in TEST_F()
196 auto op1 = model.addOperand(&type0); in TEST_F()
197 auto op2 = model.addOperand(&type1); in TEST_F()
198 auto op3 = model.addOperand(&type2); in TEST_F()
199 auto pad0 = model.addOperand(&type3); in TEST_F()
[all …]
DTestTrivialModel.cpp67 auto a = model->addOperand(&matrixType); in CreateAddTwoTensorModel()
68 auto b = model->addOperand(&matrixType); in CreateAddTwoTensorModel()
69 auto c = model->addOperand(&matrixType); in CreateAddTwoTensorModel()
82 auto a = model->addOperand(&matrixType); in CreateAddThreeTensorModel()
83 auto b = model->addOperand(&matrixType); in CreateAddThreeTensorModel()
84 auto c = model->addOperand(&matrixType); in CreateAddThreeTensorModel()
85 auto d = model->addOperand(&matrixType); in CreateAddThreeTensorModel()
86 auto e = model->addOperand(&matrixType); in CreateAddThreeTensorModel()
280 auto a = modelBroadcastAdd2.addOperand(&matrixType); in TEST_F()
281 auto b = modelBroadcastAdd2.addOperand(&matrixType2); in TEST_F()
[all …]
DTestControlFlow.cpp54 uint32_t i = conditionModel.addOperand(&counterType); in TEST_F()
55 uint32_t n = conditionModel.addOperand(&counterType); in TEST_F()
56 uint32_t out = conditionModel.addOperand(&boolType); in TEST_F()
65 uint32_t i = bodyModel.addOperand(&counterType); in TEST_F()
66 uint32_t n = bodyModel.addOperand(&counterType); in TEST_F()
69 uint32_t iOut = bodyModel.addOperand(&counterType); in TEST_F()
79 uint32_t n = model.addOperand(&counterType); in TEST_F()
82 uint32_t iOut = model.addOperand(&counterType); in TEST_F()
DTestUnknownDimensions.cpp197 auto addOperand = [&model, &getDimForCompile, scale](OperandParams params, in TestOne() local
204 return model.addOperand(&matrixTypeWithPotentiallyUnknownDims); in TestOne()
206 auto inputOpd0 = addOperand(paramsForInput0, &input0Scope); in TestOne()
207 auto inputOpd1 = addOperand(paramsForInput1, &input1Scope); in TestOne()
208 auto intermediateOpd0 = addOperand(OperandParams{ in TestOne()
212 auto constantOpd0 = addOperand(paramsForConst, &constantScope); in TestOne()
213 auto outputOpd0 = addOperand(paramsForOutput, &outputScope); in TestOne()
223 auto activationOpd0 = model.addOperand(&scalarType); in TestOne()
DTestIntrospectionControl.cpp210 auto op1 = model->addOperand(&type0); in createSimpleAddModel()
211 auto op2 = model->addOperand(&type0); in createSimpleAddModel()
212 auto act = model->addOperand(&type1); in createSimpleAddModel()
213 auto op3 = model->addOperand(&type0); in createSimpleAddModel()
1144 auto op1 = model->addOperand(&type0); in createAddMaxModel()
1145 auto op2 = model->addOperand(&type0); in createAddMaxModel()
1146 auto act = model->addOperand(&type1); in createAddMaxModel()
1147 auto op3 = model->addOperand(&type0); in createAddMaxModel()
1148 auto op4 = model->addOperand(&type0); in createAddMaxModel()
1149 auto op5 = model->addOperand(&type0); in createAddMaxModel()
[all …]
DTestMemoryDomain.cpp157 uint32_t input0 = model->addOperand(&tensorTypeFullySpecified); in createTestModel()
158 uint32_t input1 = model->addOperand(&tensorTypeFullySpecified); in createTestModel()
159 uint32_t input2 = model->addOperand(&tensorTypeFullySpecified); in createTestModel()
160 uint32_t temp = model->addOperand(&tensorTypeFullySpecified); in createTestModel()
161 uint32_t output0 = model->addOperand(&tensorTypeFullySpecified); in createTestModel()
162 uint32_t output1 = model->addOperand(&tensorTypeDynamicShape); in createTestModel()
163 uint32_t act = model->addOperand(&actType); in createTestModel()
/packages/modules/NeuralNetworks/runtime/test/fibonacci_extension/
DFibonacciExtensionTest.cpp135 uint32_t inputZeros = model->addOperand(&inputType); in addNopOperation()
143 uint32_t activation = model->addOperand(&scalarType); in addNopOperation()
152 uint32_t fibonacciInput = model->addOperand(&inputType); in createModel()
153 uint32_t fibonacciOutput = model->addOperand(&outputType); in createModel()
155 uint32_t modelInput = addNopOperations ? model->addOperand(&inputType) : fibonacciInput; in createModel()
156 uint32_t modelOutput = addNopOperations ? model->addOperand(&outputType) : fibonacciOutput; in createModel()
289 uint32_t input1 = mModel.addOperand(&inputType); in TEST_F()
290 uint32_t input2 = mModel.addOperand(&inputType); // Extra input. in TEST_F()
291 uint32_t output = mModel.addOperand(&outputType); in TEST_F()
308 uint32_t input = mModel.addOperand(&inputType); in TEST_F()
[all …]
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_backward_compatibility_quant8/
Dstdout.txt.expect22 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);
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_implicit_parameter/
Dstdout.txt.expect25 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 …]
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_float/
Dstdout.txt.expect22 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);
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_quant8/
Dstdout.txt.expect22 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);
/packages/modules/NeuralNetworks/common/operations/
DRNNTest.cpp139 inputs.push_back(model_.addOperand(&InputTy)); in BasicRNNOpModel()
141 inputs.push_back(model_.addOperand(&WeightTy)); in BasicRNNOpModel()
143 inputs.push_back(model_.addOperand(&RecurrentWeightTy)); in BasicRNNOpModel()
145 inputs.push_back(model_.addOperand(&BiasTy)); in BasicRNNOpModel()
147 inputs.push_back(model_.addOperand(&HiddenStateTy)); in BasicRNNOpModel()
149 inputs.push_back(model_.addOperand(&ActionParamTy)); in BasicRNNOpModel()
153 outputs.push_back(model_.addOperand(&HiddenStateTy)); in BasicRNNOpModel()
155 outputs.push_back(model_.addOperand(&OutputTy)); in BasicRNNOpModel()
DLSHProjectionTest.cpp51 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()
DHashtableLookupTest.cpp71 inputs.push_back(model_.addOperand(&LookupTy)); in HashtableLookupOpModel()
74 inputs.push_back(model_.addOperand(&KeyTy)); in HashtableLookupOpModel()
77 inputs.push_back(model_.addOperand(&ValueTy)); in HashtableLookupOpModel()
86 outputs.push_back(model_.addOperand(&OutputOpndTy)); in HashtableLookupOpModel()
89 outputs.push_back(model_.addOperand(&HitsOpndTy)); in HashtableLookupOpModel()
DMultinomialTest.cpp43 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()
DLayerNormLSTMTest.cpp108 inputs.push_back(model_.addOperand(&X##OpndTy)); in LayerNormLSTMOpModel()
114 inputs.push_back(model_.addOperand(&ActivationOpndTy)); in LayerNormLSTMOpModel()
116 inputs.push_back(model_.addOperand(&CellClipOpndTy)); in LayerNormLSTMOpModel()
118 inputs.push_back(model_.addOperand(&ProjClipOpndTy)); in LayerNormLSTMOpModel()
138 outputs.push_back(model_.addOperand(&X##OpndTy)); in LayerNormLSTMOpModel()
DSVDFTest.cpp188 inputs.push_back(model_.addOperand(&X##OpndTy)); in SVDFOpModel()
196 inputs.push_back(model_.addOperand(&RankParamTy)); in SVDFOpModel()
198 inputs.push_back(model_.addOperand(&ActivationParamTy)); in SVDFOpModel()
209 outputs.push_back(model_.addOperand(&X##OpndTy)); in SVDFOpModel()

12