Searched refs:test_wrapper (Results 1 – 24 of 24) sorted by relevance
85 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 …]
30 using test_wrapper::Type;151 void createModel(test_wrapper::Model* model);156 void createRequest(test_wrapper::Execution* execution,
41 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()
35 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()
33 using test_wrapper::Type;
383 void dump(test_wrapper::Type type, const uint8_t* buffer, uint32_t length);
34 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);
26 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;
29 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()
33 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;
27 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;
42 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;
21 namespace test_wrapper { namespace
55 using namespace android::nn::test_wrapper;
30 using namespace android::nn::test_wrapper;
102 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;
42 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;
34 namespace test_wrapper {
138 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;
22 using namespace android::nn::test_wrapper;
43 using namespace android::nn::test_wrapper;
25 using namespace android::nn::test_wrapper;
27 using namespace android::nn::test_wrapper;
36 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;