Home
last modified time | relevance | path

Searched refs:test_wrapper (Results 1 – 24 of 24) sorted by relevance

/frameworks/ml/nn/runtime/test/fuzzing/
DRandomGraphGeneratorUtils.cpp85 void SpecWriter::dump(test_wrapper::Type type, const uint8_t* buffer, uint32_t length) { in dump()
88 case test_wrapper::Type::FLOAT32: in dump()
89 case test_wrapper::Type::TENSOR_FLOAT32: in dump()
92 case test_wrapper::Type::INT32: in dump()
93 case test_wrapper::Type::TENSOR_INT32: in dump()
96 case test_wrapper::Type::TENSOR_QUANT8_ASYMM: in dump()
99 case test_wrapper::Type::TENSOR_QUANT8_SYMM: in dump()
102 case test_wrapper::Type::TENSOR_QUANT16_ASYMM: in dump()
105 case test_wrapper::Type::TENSOR_QUANT16_SYMM: in dump()
108 case test_wrapper::Type::BOOL: in dump()
[all …]
DRandomGraphGenerator.h30 using test_wrapper::Type;
151 void createModel(test_wrapper::Model* model);
156 void createRequest(test_wrapper::Execution* execution,
DTestRandomGraph.cpp41 using test_wrapper::Result;
119 class CompilationForDevice : public test_wrapper::Compilation {
125 bool initialize(const test_wrapper::Model* model, const ANeuralNetworksDevice* device) { in initialize()
213 void computeAndVerifyResultsForDevice(const test_wrapper::Model* model, uint32_t numOps, in computeAndVerifyResultsForDevice()
257 test_wrapper::Execution execution(&compilation); in computeAndVerifyResultsForDevice()
283 void computeAndVerifyResults(const test_wrapper::Model* model, bool checkResults) { in computeAndVerifyResults()
289 test_wrapper::Compilation compilation(model); in computeAndVerifyResults()
293 test_wrapper::Execution execution(&compilation); in computeAndVerifyResults()
310 test_wrapper::Model model; in testRandomGraph()
DRandomGraphGenerator.cpp35 using test_wrapper::Result;
36 using test_wrapper::Type;
205 void RandomGraph::createModel(test_wrapper::Model* model) { in createModel()
213 test_wrapper::OperandType type(operand->dataType, operand->getDimensions(), operand->scale, in createModel()
250 void RandomGraph::createRequest(test_wrapper::Execution* execution, in createRequest()
DOperationManager.h33 using test_wrapper::Type;
DRandomGraphGeneratorUtils.h383 void dump(test_wrapper::Type type, const uint8_t* buffer, uint32_t length);
/frameworks/ml/nn/runtime/test/
DTestCompliance.h34 void testAvailableSinceV1_2(std::function<void(test_wrapper::Model*)> createModel);
35 void testAvailableSinceV1_1(std::function<void(test_wrapper::Model*)> createModel);
36 void testAvailableSinceV1_0(std::function<void(test_wrapper::Model*)> createModel);
DTestMemory.cpp26 using WrapperCompilation = ::android::nn::test_wrapper::Compilation;
27 using WrapperExecution = ::android::nn::test_wrapper::Execution;
28 using WrapperMemory = ::android::nn::test_wrapper::Memory;
29 using WrapperModel = ::android::nn::test_wrapper::Model;
30 using WrapperOperandType = ::android::nn::test_wrapper::OperandType;
31 using WrapperResult = ::android::nn::test_wrapper::Result;
32 using WrapperType = ::android::nn::test_wrapper::Type;
DTestCompliance.cpp29 using WrapperModel = test_wrapper::Model;
30 using WrapperOperandType = test_wrapper::OperandType;
31 using WrapperType = test_wrapper::Type;
38 EXPECT_EQ(wrapperModel.finish(), test_wrapper::Result::NO_ERROR); in createHidlModel()
126 test_wrapper::Memory memory(buffer); in TEST_F()
DTestMemoryInternal.cpp33 using WrapperCompilation = ::android::nn::test_wrapper::Compilation;
34 using WrapperExecution = ::android::nn::test_wrapper::Execution;
35 using WrapperMemory = ::android::nn::test_wrapper::Memory;
36 using WrapperModel = ::android::nn::test_wrapper::Model;
37 using WrapperOperandType = ::android::nn::test_wrapper::OperandType;
38 using WrapperResult = ::android::nn::test_wrapper::Result;
39 using WrapperType = ::android::nn::test_wrapper::Type;
DTestCompilationCaching.cpp27 using Result = test_wrapper::Result;
28 using Type = test_wrapper::Type;
221 void CreateBroadcastAddModel(test_wrapper::Model* model) { in CreateBroadcastAddModel()
222 test_wrapper::OperandType matrixType(Type::TENSOR_FLOAT32, {2, 2}); in CreateBroadcastAddModel()
223 test_wrapper::OperandType vectorType(Type::TENSOR_FLOAT32, {2}); in CreateBroadcastAddModel()
224 test_wrapper::OperandType scalarType(Type::INT32, {}); in CreateBroadcastAddModel()
310 test_wrapper::Model mModel;
DTestExecution.cpp42 using Result = nn::test_wrapper::Result;
44 using WrapperCompilation = nn::test_wrapper::Compilation;
45 using WrapperEvent = nn::test_wrapper::Event;
46 using WrapperExecution = nn::test_wrapper::Execution;
47 using WrapperModel = nn::test_wrapper::Model;
48 using WrapperOperandType = nn::test_wrapper::OperandType;
49 using WrapperType = nn::test_wrapper::Type;
DTestNeuralNetworksWrapper.cpp21 namespace test_wrapper { namespace
DTestGenerated.h55 using namespace android::nn::test_wrapper;
DTestMain.cpp30 using namespace android::nn::test_wrapper;
DTestPartitioningRandom.cpp102 using Result = nn::test_wrapper::Result;
104 using WrapperCompilation = nn::test_wrapper::Compilation;
105 using WrapperExecution = nn::test_wrapper::Execution;
106 using WrapperMemory = nn::test_wrapper::Memory;
107 using WrapperModel = nn::test_wrapper::Model;
108 using WrapperOperandType = nn::test_wrapper::OperandType;
109 using WrapperType = nn::test_wrapper::Type;
DTestIntrospectionControl.cpp42 using ExecutePreference = nn::test_wrapper::ExecutePreference;
47 using Result = nn::test_wrapper::Result;
50 using WrapperModel = nn::test_wrapper::Model;
51 using WrapperOperandType = nn::test_wrapper::OperandType;
52 using WrapperType = nn::test_wrapper::Type;
DTestNeuralNetworksWrapper.h34 namespace test_wrapper {
DTestPartitioning.cpp138 using ExecutePreference = ::android::nn::test_wrapper::ExecutePreference;
146 using Result = ::android::nn::test_wrapper::Result;
148 using WrapperSymmPerChannelQuantParams = ::android::nn::test_wrapper::SymmPerChannelQuantParams;
149 using WrapperCompilation = ::android::nn::test_wrapper::Compilation;
150 using WrapperModel = ::android::nn::test_wrapper::Model;
151 using WrapperOperandType = ::android::nn::test_wrapper::OperandType;
152 using WrapperType = ::android::nn::test_wrapper::Type;
DTestTrivialModel.cpp22 using namespace android::nn::test_wrapper;
DTestGenerated.cpp43 using namespace android::nn::test_wrapper;
DTestUnknownDimensions.cpp25 using namespace android::nn::test_wrapper;
DTestUnspecifiedDimensions.cpp27 using namespace android::nn::test_wrapper;
/frameworks/ml/nn/runtime/test/fibonacci_extension/
DFibonacciExtensionTest.cpp36 using ::android::nn::test_wrapper::ExtensionModel;
37 using ::android::nn::test_wrapper::ExtensionOperandParams;
38 using ::android::nn::test_wrapper::ExtensionOperandType;
39 using ::android::nn::test_wrapper::Type;