/packages/modules/NeuralNetworks/runtime/test/ |
D | GeneratedTestUtils.h | 38 namespace test_wrapper = android::nn::sl_wrapper; variable 55 class GeneratedModel : public test_wrapper::Model { 71 void setRefModels(std::vector<test_wrapper::Model> refModels) { in setRefModels() 76 void setConstantReferenceMemory(std::unique_ptr<test_wrapper::Memory> memory) { in setConstantReferenceMemory() 81 std::vector<test_wrapper::Model> mRefModels; 82 std::unique_ptr<test_wrapper::Memory> mConstantReferenceMemory; 101 void createRequest(const test_helper::TestModel& testModel, test_wrapper::Execution* execution,
|
D | TestMemoryDomain.cpp | 46 using WrapperResult = test_wrapper::Result; 47 using Type = test_wrapper::Type; 160 void createTestModel(test_wrapper::Model* model) { in createTestModel() 161 test_wrapper::OperandType tensorTypeFullySpecified(Type::TENSOR_FLOAT32, {1}); in createTestModel() 162 test_wrapper::OperandType tensorTypeDynamicShape(Type::TENSOR_FLOAT32, {0}); in createTestModel() 163 test_wrapper::OperandType actType(Type::INT32, {}); in createTestModel() 199 test_wrapper::Compilation createCompilation(const std::vector<std::string>& deviceNames) { in createCompilation() 200 test_wrapper::Compilation compilation; in createCompilation() 218 test_wrapper::Compilation::createForDevices(&mModel, devices); in createCompilation() 221 compilation = test_wrapper::Compilation(&mModel); in createCompilation() [all …]
|
D | TestControlFlow.cpp | 28 using test_wrapper::Compilation; 29 using test_wrapper::Execution; 30 using test_wrapper::Model; 31 using test_wrapper::OperandType; 32 using test_wrapper::Result; 33 using test_wrapper::Type;
|
D | TestTelemetry.cpp | 26 using android::nn::test_wrapper::Compilation; 27 using android::nn::test_wrapper::Execution; 28 using android::nn::test_wrapper::Model; 29 using android::nn::test_wrapper::OperandType; 30 using android::nn::test_wrapper::Result; 31 using android::nn::test_wrapper::Type;
|
D | TestMemory.cpp | 32 using WrapperCompilation = ::android::nn::test_wrapper::Compilation; 33 using WrapperExecution = ::android::nn::test_wrapper::Execution; 34 using WrapperMemory = ::android::nn::test_wrapper::Memory; 35 using WrapperModel = ::android::nn::test_wrapper::Model; 36 using WrapperOperandType = ::android::nn::test_wrapper::OperandType; 37 using WrapperResult = ::android::nn::test_wrapper::Result; 38 using WrapperType = ::android::nn::test_wrapper::Type;
|
D | TestUtils.h | 38 test_wrapper::Memory memory) in TestAshmem() 66 test_wrapper::Memory memory(length, PROT_READ | PROT_WRITE, fd, 0); in createFrom() 75 test_wrapper::Memory* get() { return &mMemory; } in get() 85 test_wrapper::Memory mMemory;
|
D | TestFailingDriver.cpp | 34 using Result = test_wrapper::Result; 35 using WrapperOperandType = test_wrapper::OperandType; 36 using WrapperCompilation = test_wrapper::Compilation; 37 using WrapperExecution = test_wrapper::Execution; 38 using WrapperType = test_wrapper::Type; 39 using WrapperModel = test_wrapper::Model;
|
D | TestMemoryInternal.cpp | 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;
|
D | TestGpuNnapi.cpp | 41 using Type = test_wrapper::Type; 42 using OperandType = test_wrapper::OperandType; 43 using Result = test_wrapper::Result; 870 test_wrapper::Compilation::createForDevice(&mModel, device); in initialize() 887 mExecution = std::make_unique<test_wrapper::Execution>(&mCompilation); in runInternal() 896 std::vector<const test_wrapper::Event*> dependencies; in runInternal() 897 test_wrapper::Event start; in runInternal() 901 start = test_wrapper::Event(inSyncFd.get()); in runInternal() 907 test_wrapper::Event finished; in runInternal() 920 test_wrapper::Model mModel; [all …]
|
D | TestRemoveDefaultArguments.cpp | 103 using Result = test_wrapper::Result; 104 using WrapperOperandType = test_wrapper::OperandType; 105 using WrapperCompilation = test_wrapper::Compilation; 106 using WrapperType = test_wrapper::Type; 107 using WrapperModel = test_wrapper::Model;
|
D | TestCompilationCaching.cpp | 37 using WrapperResult = test_wrapper::Result; 38 using Type = test_wrapper::Type; 280 void CreateBroadcastAddModel(test_wrapper::Model* model) { in CreateBroadcastAddModel() 281 test_wrapper::OperandType matrixType(Type::TENSOR_FLOAT32, {2, 2}); in CreateBroadcastAddModel() 282 test_wrapper::OperandType vectorType(Type::TENSOR_FLOAT32, {2}); in CreateBroadcastAddModel() 283 test_wrapper::OperandType scalarType(Type::INT32, {}); in CreateBroadcastAddModel() 414 test_wrapper::Model mModel;
|
D | TestCompliance.cpp | 35 using WrapperModel = test_wrapper::Model; 36 using WrapperOperandType = test_wrapper::OperandType; 37 using WrapperType = test_wrapper::Type; 130 test_wrapper::Memory memory(buffer); in TEST_F()
|
D | TestNeuralNetworksWrapper.cpp | 21 namespace test_wrapper { namespace
|
D | TestExecution.cpp | 55 using WrapperCompilation = nn::test_wrapper::Compilation; 56 using WrapperEvent = nn::test_wrapper::Event; 57 using WrapperExecution = nn::test_wrapper::Execution; 58 using WrapperModel = nn::test_wrapper::Model; 59 using WrapperOperandType = nn::test_wrapper::OperandType; 60 using WrapperResult = nn::test_wrapper::Result; 61 using WrapperType = nn::test_wrapper::Type;
|
D | TestPartitioningRandom.cpp | 113 using Result = nn::test_wrapper::Result; 115 using WrapperCompilation = nn::test_wrapper::Compilation; 116 using WrapperExecution = nn::test_wrapper::Execution; 117 using WrapperMemory = nn::test_wrapper::Memory; 118 using WrapperModel = nn::test_wrapper::Model; 119 using WrapperOperandType = nn::test_wrapper::OperandType; 120 using WrapperType = nn::test_wrapper::Type;
|
D | TestMain.cpp | 38 using namespace android::nn::test_wrapper;
|
D | TestCompatibilityLayer.cpp | 57 using namespace test_wrapper;
|
D | TestIntrospectionControl.cpp | 54 using ExecutePreference = nn::test_wrapper::ExecutePreference; 57 using Result = nn::test_wrapper::Result; 61 using WrapperModel = nn::test_wrapper::Model; 62 using WrapperOperandType = nn::test_wrapper::OperandType; 63 using WrapperType = nn::test_wrapper::Type;
|
D | GeneratedTestUtils.cpp | 41 using namespace test_wrapper;
|
D | TestPartitioning.cpp | 160 using ExecutePreference = ::android::nn::test_wrapper::ExecutePreference; 161 using ExecutePriority = ::android::nn::test_wrapper::ExecutePriority; 173 using Result = ::android::nn::test_wrapper::Result; 178 using WrapperCompilation = ::android::nn::test_wrapper::Compilation; 179 using WrapperExecution = ::android::nn::test_wrapper::Execution; 180 using WrapperModel = ::android::nn::test_wrapper::Model; 181 using WrapperOperandType = ::android::nn::test_wrapper::OperandType; 182 using WrapperSymmPerChannelQuantParams = ::android::nn::test_wrapper::SymmPerChannelQuantParams; 183 using WrapperType = ::android::nn::test_wrapper::Type;
|
D | TestUnknownDimensions.cpp | 27 using namespace android::nn::test_wrapper;
|
/packages/modules/NeuralNetworks/runtime/test/fuzzing/ |
D | TestRandomGraph.cpp | 57 using test_wrapper::Result; 259 auto [result, compilation] = test_wrapper::Compilation::createForDevice(&model, refDevice); in computeGoldenResults() 264 test_wrapper::Execution execution(&compilation); in computeGoldenResults() 283 void computeAndVerifyResultsForDevice(const test_wrapper::Model* model, uint32_t numOps, in computeAndVerifyResultsForDevice() 311 auto [result, compilation] = test_wrapper::Compilation::createForDevice(model, device); in computeAndVerifyResultsForDevice() 324 test_wrapper::Execution execution(&compilation); in computeAndVerifyResultsForDevice() 347 void computeAndVerifyResults(const std::string& name, const test_wrapper::Model* model, in computeAndVerifyResults() 356 test_wrapper::Compilation compilation(model); in computeAndVerifyResults() 360 test_wrapper::Execution execution(&compilation); in computeAndVerifyResults()
|
D | RandomGraphGenerator.cpp | 40 using test_wrapper::Result;
|
/packages/modules/NeuralNetworks/runtime/test/fibonacci_extension/ |
D | FibonacciExtensionTest.cpp | 37 using ::android::nn::test_wrapper::ExtensionModel; 38 using ::android::nn::test_wrapper::ExtensionOperandParams; 39 using ::android::nn::test_wrapper::ExtensionOperandType; 40 using ::android::nn::test_wrapper::Type;
|
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/ |
D | test_decorators.py | 83 def test_wrapper(self): function 116 return test_wrapper
|