Home
last modified time | relevance | path

Searched refs:setOperandValue (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/NeuralNetworks/tools/test_generator/tests/P_variation/
Dstdout.txt.expect33 model->setOperandValue(op2, op2_init, sizeof(float) * 16);
35 model->setOperandValue(op3, op3_init, sizeof(float) * 1);
37 model->setOperandValue(param, param_init, sizeof(int32_t) * 1);
39 model->setOperandValue(param1, param1_init, sizeof(int32_t) * 1);
41 model->setOperandValue(param2, param2_init, sizeof(int32_t) * 1);
43 model->setOperandValue(act, act_init, sizeof(int32_t) * 1);
45 model->setOperandValue(layout, layout_init, sizeof(int32_t) * 1);
106 model->setOperandValue(op2, op2_init, sizeof(float) * 16);
108 model->setOperandValue(op3, op3_init, sizeof(float) * 1);
110 model->setOperandValue(param, param_init, sizeof(int32_t) * 1);
[all …]
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_naming/
Dstdout.txt.expect33 model->setOperandValue(op2, op2_init, sizeof(float) * 16);
35 model->setOperandValue(op3, op3_init, sizeof(float) * 1);
37 model->setOperandValue(param, param_init, sizeof(int32_t) * 1);
39 model->setOperandValue(param1, param1_init, sizeof(int32_t) * 1);
41 model->setOperandValue(param2, param2_init, sizeof(int32_t) * 1);
43 model->setOperandValue(act, act_init, sizeof(int32_t) * 1);
45 model->setOperandValue(layout, layout_init, sizeof(int32_t) * 1);
106 model->setOperandValue(op2, op2_init, sizeof(float) * 16);
108 model->setOperandValue(op3, op3_init, sizeof(float) * 1);
110 model->setOperandValue(param, param_init, sizeof(int32_t) * 1);
[all …]
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_implicit_variation/
Dstdout.txt.expect33 model->setOperandValue(op2, op2_init, sizeof(float) * 16);
35 model->setOperandValue(op3, op3_init, sizeof(float) * 1);
37 model->setOperandValue(param, param_init, sizeof(int32_t) * 1);
39 model->setOperandValue(param1, param1_init, sizeof(int32_t) * 1);
41 model->setOperandValue(param2, param2_init, sizeof(int32_t) * 1);
43 model->setOperandValue(act, act_init, sizeof(int32_t) * 1);
45 model->setOperandValue(layout, layout_init, sizeof(int32_t) * 1);
106 model->setOperandValue(op2, op2_init, sizeof(float) * 16);
108 model->setOperandValue(op3, op3_init, sizeof(float) * 1);
110 model->setOperandValue(param, param_init, sizeof(int32_t) * 1);
[all …]
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_float/
Dstdout.txt.expect31 model->setOperandValue(op2, op2_init, sizeof(float) * 4);
33 model->setOperandValue(op3, op3_init, sizeof(float) * 1);
35 model->setOperandValue(pad0, pad0_init, sizeof(int32_t) * 1);
37 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1);
39 model->setOperandValue(act, act_init, sizeof(int32_t) * 1);
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_quant8/
Dstdout.txt.expect31 model->setOperandValue(op2, op2_init, sizeof(float) * 4);
33 model->setOperandValue(op3, op3_init, sizeof(float) * 1);
35 model->setOperandValue(pad0, pad0_init, sizeof(int32_t) * 1);
37 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1);
39 model->setOperandValue(act, act_init, sizeof(int32_t) * 1);
/packages/modules/NeuralNetworks/runtime/test/
DTestMemoryInternal.cpp129 model.setOperandValue(f, &activation, sizeof(activation)); in TEST_F()
206 model.setOperandValue(op2, op2_init, sizeof(op2_init)); in TEST_F()
208 model.setOperandValue(op3, op3_init, sizeof(op3_init)); in TEST_F()
210 model.setOperandValue(pad0, pad0_init, sizeof(pad0_init)); in TEST_F()
212 model.setOperandValue(act, act_init, sizeof(act_init)); in TEST_F()
214 model.setOperandValue(stride, stride_init, sizeof(stride_init)); in TEST_F()
DTestPartitioningRandom.cpp184 void setOperandValue(uint32_t index, const std::vector<float>& value) { in setOperandValue() function in android::__anonc220281b0111::TestModel
188 WrapperModel::setOperandValue(index, value.data(), length); in setOperandValue()
191 WrapperModel::setOperandValue(index, mOperandValues.back().data(), length); in setOperandValue()
195 void setOperandValue(uint32_t index, const std::vector<int32_t>& value) { in setOperandValue() function in android::__anonc220281b0111::TestModel
199 WrapperModel::setOperandValue(index, value.data(), length); in setOperandValue()
202 void setOperandValue(uint32_t index, int32_t value) { in setOperandValue() function in android::__anonc220281b0111::TestModel
204 WrapperModel::setOperandValue(index, &value, sizeof(value)); in setOperandValue()
421 model->setOperandValue(operandIndex, biasValue); in makeRnnSpecialInput()
438 model->setOperandValue(operandIndex, permValue); in makeTransposeSpecialInput()
766 model.setOperandValue(operandIndex, activationFunction); in TEST_P()
[all …]
DTestNeuralNetworksWrapper.h170 setOperandValue(index, &value); in addConstantOperand()
181 void setOperandValue(uint32_t index, const void* buffer, size_t length) { in setOperandValue() function
189 void setOperandValue(uint32_t index, const T* value) { in setOperandValue() function
191 return setOperandValue(index, value, sizeof(T)); in setOperandValue()
DTestMemory.cpp72 model.setOperandValue(f, &activation, sizeof(activation)); in TEST_F()
135 model.setOperandValue(f, &activation, sizeof(activation)); in TEST_F()
DGeneratedTestUtils.cpp144 model->setOperandValue(index, operand.data.get<void>(), operand.data.size());
154 model->setOperandValue(index, nullptr, 0);
DTestUnspecifiedDimensions.cpp319 model.setOperandValue(op1, bufferOp1, sizeof(bufferOp1)); in TestOne()
324 model.setOperandValue(act, &kActivation, sizeof(int32_t)); in TestOne()
326 model.setOperandValue(op3, nullptr, 0); in TestOne()
DTestUnknownDimensions.cpp225 model.setOperandValue(activationOpd0, &activation, sizeof(activation)); in TestOne()
226 model.setOperandValue(constantOpd0, twos, sizeof(twos)); in TestOne()
DTestIntrospectionControl.cpp216 model->setOperandValue(act, act_init, sizeof(act_init)); in createSimpleAddModel()
1152 model->setOperandValue(act, act_init, sizeof(act_init)); in createAddMaxModel()
1154 model->setOperandValue(op4, ceiling, sizeof(ceiling)); in createAddMaxModel()
1217 model->setOperandValue(act, act_init, sizeof(act_init)); in createAddMulModel()
1219 model->setOperandValue(op4, multiplier, sizeof(multiplier)); in createAddMulModel()
DTestTrivialModel.cpp88 model->setOperandValue(e, bias, sizeof(Matrix3x4)); in CreateAddThreeTensorModel()
DTestMemoryDomain.cpp165 model->setOperandValue(act, &activation, sizeof(int32_t)); in createTestModel()
DTestCompilationCaching.cpp288 model->setOperandValue(d, &activation, sizeof(activation)); in CreateBroadcastAddModel()
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_backward_compatibility_quant8/
Dstdout.txt.expect32 model->setOperandValue(pad0, pad0_init, sizeof(int32_t) * 1);
34 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1);
36 model->setOperandValue(channelMultiplier, channelMultiplier_init, sizeof(int32_t) * 1);
38 model->setOperandValue(act, act_init, sizeof(int32_t) * 1);
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_implicit_parameter/
Dstdout.txt.expect31 model->setOperandValue(param, param_init, sizeof(int32_t) * 1);
33 model->setOperandValue(param1, param1_init, sizeof(int32_t) * 1);
113 model->setOperandValue(param2, param2_init, sizeof(int32_t) * 1);
115 model->setOperandValue(param3, param3_init, sizeof(int32_t) * 1);
195 model->setOperandValue(param4, param4_init, sizeof(int32_t) * 2);
197 model->setOperandValue(param5, param5_init, sizeof(int32_t) * 1);
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_backward_compatibility_float/
Dstdout.txt.expect57 model->setOperandValue(activation_param, activation_param_init, sizeof(int32_t) * 1);
59 model->setOperandValue(cell_clip_param, cell_clip_param_init, sizeof(float) * 1);
61 model->setOperandValue(proj_clip_param, proj_clip_param_init, sizeof(float) * 1);
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DFuzzTest.cpp56 model.setOperandValue(index, operand.data.get<void>(), operand.data.size()); in CreateModel()
59 model.setOperandValue(index, nullptr, 0); in CreateModel()
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_internal/
Dstdout.txt.expect43 model->setOperandValue(act, act_init, sizeof(int32_t) * 1);
45 model->setOperandValue(p0, p0_init, sizeof(float) * 2);
/packages/modules/NeuralNetworks/shim_and_sl/include/
DSupportLibraryWrapper.h221 setOperandValue(index, &value); in addConstantOperand()
232 void setOperandValue(uint32_t index, const void* buffer, size_t length) { in setOperandValue() function
240 void setOperandValue(uint32_t index, const T* value) { in setOperandValue() function
242 return setOperandValue(index, value, sizeof(T)); in setOperandValue()
/packages/modules/NeuralNetworks/shim_and_sl/
DShimConverter.cpp133 resultModel.setOperandValue( in convertSubgraphFromHAL()
140 resultModel.setOperandValue( in convertSubgraphFromHAL()
167 resultModel.setOperandValue(i, nullptr, 0); in convertSubgraphFromHAL()
/packages/modules/NeuralNetworks/runtime/test/fibonacci_extension/
DFibonacciExtensionTest.cpp140 model->setOperandValue(inputZeros, &kZeros, inputLength); in addNopOperation()
145 model->setOperandValue(activation, &kNoActivation, sizeof(kNoActivation)); in addNopOperation()
/packages/modules/NeuralNetworks/runtime/
DModelBuilder.h46 int setOperandValue(uint32_t index, const void* buffer, size_t length);

12