Home
last modified time | relevance | path

Searched refs:TestSubgraph (Results 1 – 4 of 4) sorted by relevance

/frameworks/ml/nn/tools/test_generator/test_harness/include/
DTestHarness.h291 struct TestSubgraph { struct
299 TestSubgraph main; argument
300 std::vector<TestSubgraph> referenced;
317 void forEachSubgraph(std::function<void(const TestSubgraph&)> handler) const { in forEachSubgraph()
319 for (const TestSubgraph& subgraph : referenced) { in forEachSubgraph()
324 void forEachSubgraph(std::function<void(TestSubgraph&)> handler) { in forEachSubgraph()
326 for (TestSubgraph& subgraph : referenced) { in forEachSubgraph()
334 newTestModel.forEachSubgraph([](TestSubgraph& subgraph) { in copy()
344 forEachSubgraph([&result](const TestSubgraph& subgraph) { in hasQuant8CoupledOperands()
393 forEachSubgraph([&result](const TestSubgraph& subgraph) { in hasScalarOutputs()
/frameworks/ml/nn/runtime/test/
DGeneratedTestUtils.cpp90 auto processSubgraph = [&size](const TestSubgraph& subgraph) { in createConstantReferenceMemory()
99 for (const TestSubgraph& subgraph : testModel.referenced) { in createConstantReferenceMemory()
105 static void createModelFromSubgraph(const TestSubgraph& subgraph, bool testDynamicOutputShape, in createModelFromSubgraph()
106 const std::vector<TestSubgraph>& refSubgraphs, in createModelFromSubgraph()
131 const TestSubgraph& refSubgraph = refSubgraphs[refIndex]; in createModelFromSubgraph()
/frameworks/ml/nn/runtime/test/android_fuzzing/
DDriverFuzzTest.cpp56 V1_3::Subgraph createSubgraph(const TestSubgraph& testSubgraph, uint32_t* constCopySize, in createSubgraph()
146 &constReferences](const TestSubgraph& testSubgraph) { in createModel()
/frameworks/ml/nn/tools/test_generator/test_harness/
DTestHarness.cpp276 model.forEachSubgraph([&hasFloat16Inputs](const TestSubgraph& subgraph) { in checkResults()
296 auto processSubgraph = [](TestSubgraph* subgraph) { in convertQuant8AsymmOperandsToSigned()
312 for (TestSubgraph& subgraph : converted.referenced) { in convertQuant8AsymmOperandsToSigned()