Home
last modified time | relevance | path

Searched refs:TestOperand (Results 1 – 10 of 10) sorted by relevance

/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DTestHarness.cpp62 uint32_t getNumberOfElements(const TestOperand& op) { in getNumberOfElements()
68 void expectNear(const TestOperand& op, const TestBuffer& result, const AccuracyCriterion& criterion, in expectNear()
115 void expectBooleanNearlyEqual(const TestOperand& op, const TestBuffer& result, in expectBooleanNearlyEqual()
279 [](const TestOperand& op) { in checkResults()
297 for (TestOperand& operand : subgraph->operands) { in convertQuant8AsymmOperandsToSigned()
606 void SpecDumper::dumpTestOperand(const TestOperand& operand, uint32_t index) { in dumpTestOperand()
700 static TestOperand convertOperandToFloat32(const TestOperand& op) { in convertOperandToFloat32()
701 TestOperand converted = op; in convertOperandToFloat32()
745 auto convert = [&testModel, &operation](const TestOperand& op, uint32_t index) { in convertToFloat32Model()
759 TestOperand scalarWithScaleAndZeroPoint = op; in convertToFloat32Model()
[all …]
DTestUtils.cpp38 using ::test_helper::TestOperand;
44 Result<Operand> createOperand(const TestOperand& operand, Model::OperandValues* operandValues, in createOperand()
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DConverter.cpp83 TestOperand convert(const Operand& operand) { in convert()
110 std::vector<TestOperand> convert(const Operands& operands) { in convert()
111 std::vector<TestOperand> testOperands; in convert()
142 std::vector<TestOperand>* operands) { in calculateNumberOfConsumers()
156 std::vector<TestOperand> operands = convert(subgraph.operands()); in convert()
DFuzzHarness.cpp36 using ::test_helper::TestOperand;
39 bool operandOverflows(const TestOperand& operand) { in operandOverflows()
DGenerateCorpus.cpp93 Operand convert(const TestOperand& operand) { in convert()
106 Operands convert(const std::vector<TestOperand>& operands) { in convert()
DFuzzTest.cpp36 using ::test_helper::TestOperand;
41 OperandType getOperandType(const TestOperand& op) { in getOperandType()
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/include/
DTestHarness.h277 struct TestOperand { struct
304 std::vector<TestOperand> operands; argument
362 for (TestOperand& operand : subgraph.operands) { in copy()
554 void dumpTestOperand(const TestOperand& operand, uint32_t index);
/packages/modules/NeuralNetworks/runtime/test/
DTestCompatibilityLayer.cpp175 const TestOperand& filterOperand = in compatibleTest()
209 [](const TestOperand& operand) { in compatibleTest()
DGeneratedTestUtils.cpp44 static OperandType getOperandType(const TestOperand& op, bool testDynamicOutputShape) { in getOperandType()
117 for (const TestOperand& operand : subgraph.operands) {
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DRandomGraphGenerator.cpp257 TestOperand testOperand = { in createTestModel()