Home
last modified time | relevance | path

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

/aosp12/hardware/interfaces/neuralnetworks/1.3/vts/functional/
H A DMemoryDomainTests.cpp85 TestOperand createInt32Scalar(int32_t value) { in createInt32Scalar()
103 TestOperand weight = {.type = operand.type, in createConvModel()
110 TestOperand bias = { in createConvModel()
118 TestOperand output = operand; in createConvModel()
122 const std::vector<TestOperand> operands = { in createConvModel()
157 TestOperand act = { in createSingleAddModel()
166 TestOperand output = operand; in createSingleAddModel()
271 const TestOperand& kTestOperand;
713 TestOperand testOperand = kTestOperand; in TEST_P()
758 TestOperand testOperand = kTestOperand; in TEST_P()
[all …]
H A DCompilationCachingTests.cpp124 std::vector<TestOperand> operands(len * 2 + 2); in createLargeTestModelImpl()
/aosp12/hardware/interfaces/neuralnetworks/aidl/vts/functional/
H A DMemoryDomainTests.cpp87 TestOperand createInt32Scalar(int32_t value) { in createInt32Scalar()
105 TestOperand weight = {.type = operand.type, in createConvModel()
112 TestOperand bias = { in createConvModel()
120 TestOperand output = operand; in createConvModel()
124 const std::vector<TestOperand> operands = { in createConvModel()
159 TestOperand act = { in createSingleAddModel()
168 TestOperand output = operand; in createSingleAddModel()
262 const TestOperand& kTestOperand;
741 TestOperand testOperand = kTestOperand; in TEST_P()
787 TestOperand testOperand = kTestOperand; in TEST_P()
[all …]
H A DCompilationCachingTests.cpp119 std::vector<TestOperand> operands(len * 2 + 2); in createLargeTestModelImpl()
/aosp12/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
H A DConverter.cpp71 TestOperand convert(const android_nn_fuzz::Operand& operand) { in convert()
98 std::vector<TestOperand> convert(const android_nn_fuzz::Operands& operands) { in convert()
99 std::vector<TestOperand> testOperands; in convert()
130 std::vector<TestOperand>* operands) { in calculateNumberOfConsumers()
144 std::vector<TestOperand> operands = convert(model.operands()); in convert()
H A DFuzzHarness.cpp36 using ::test_helper::TestOperand;
38 bool operandOverflows(const TestOperand& operand) { in operandOverflows()
H A DGenerateCorpus.cpp86 Operand convert(const TestOperand& operand) { in convert()
99 Operands convert(const std::vector<TestOperand>& operands) { in convert()
H A DFuzzTest.cpp32 OperandType getOperandType(const TestOperand& op) { in getOperandType()
/aosp12/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
H A DTestHarness.cpp62 uint32_t getNumberOfElements(const TestOperand& op) { in getNumberOfElements()
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()
783 return TestOperand{}; in convertToFloat32Model()
[all …]
H A DTestUtils.cpp37 using ::test_helper::TestOperand;
43 Operand createOperand(const TestOperand& operand, Model::OperandValues* operandValues, in createOperand()
95 [operandValues, memoryBuilder](const TestOperand& operand) { in createSubgraph()
/aosp12/packages/modules/NeuralNetworks/tools/test_generator/test_harness/include/
H A DTestHarness.h267 struct TestOperand { struct
292 std::vector<TestOperand> operands; argument
335 for (TestOperand& operand : subgraph.operands) { in copy()
525 void dumpTestOperand(const TestOperand& operand, uint32_t index);
/aosp12/packages/modules/NeuralNetworks/runtime/test/
H A DGeneratedTestUtils.cpp41 static OperandType getOperandType(const TestOperand& op, bool testDynamicOutputShape) { in getOperandType()
115 for (const TestOperand& operand : subgraph.operands) {
/aosp12/packages/modules/NeuralNetworks/runtime/test/fuzzing/
H A DRandomGraphGenerator.cpp257 TestOperand testOperand = { in createTestModel()
/aosp12/hardware/interfaces/neuralnetworks/1.2/vts/functional/
H A DCompilationCachingTests.cpp121 std::vector<TestOperand> operands(len * 2 + 2); in createLargeTestModelImpl()