/packages/modules/NeuralNetworks/runtime/test/ |
D | TestMemoryInternal.cpp | 38 using WrapperType = ::android::nn::test_wrapper::Type; typedef 117 WrapperOperandType matrixType(WrapperType::TENSOR_FLOAT32, {3, 4}); in TEST_F() 118 WrapperOperandType scalarType(WrapperType::INT32, {}); in TEST_F() 189 WrapperOperandType type3(WrapperType::INT32, {}); in TEST_F() 190 WrapperOperandType type2(WrapperType::TENSOR_INT32, {128}, 0.25, 0); in TEST_F() 191 WrapperOperandType type0(WrapperType::TENSOR_QUANT8_ASYMM, {12, 104, 104, 128}, 0.5, 0); in TEST_F() 192 WrapperOperandType type4(WrapperType::TENSOR_QUANT8_ASYMM, {12, 92, 92, 128}, 1.0, 0); in TEST_F() 193 WrapperOperandType type1(WrapperType::TENSOR_QUANT8_ASYMM, {128, 13, 13, 128}, 0.5, 0); in TEST_F()
|
D | TestMemory.cpp | 33 using WrapperType = ::android::nn::test_wrapper::Type; typedef 60 WrapperOperandType matrixType(WrapperType::TENSOR_FLOAT32, {3, 4}); in TEST_F() 61 WrapperOperandType scalarType(WrapperType::INT32, {}); in TEST_F() 123 WrapperOperandType matrixType(WrapperType::TENSOR_FLOAT32, {3, 4}); in TEST_F() 124 WrapperOperandType scalarType(WrapperType::INT32, {}); in TEST_F()
|
D | TestFailingDriver.cpp | 38 using WrapperType = test_wrapper::Type; typedef 104 WrapperOperandType floatType(WrapperType::TENSOR_FLOAT32, {2}); in TEST_F() 105 WrapperOperandType boolType(WrapperType::TENSOR_BOOL8, {1}); in TEST_F() 182 WrapperOperandType floatType(WrapperType::TENSOR_FLOAT32, {2}); in TEST_F()
|
D | TestCompliance.cpp | 34 using WrapperType = test_wrapper::Type; typedef 85 static const WrapperOperandType kTypeTensorFloat(WrapperType::TENSOR_FLOAT32, {1}); 86 static const WrapperOperandType kTypeTensorFloatRank0(WrapperType::TENSOR_FLOAT32, {}); 87 static const WrapperOperandType kTypeInt32(WrapperType::INT32, {});
|
D | TestPartitioningRandom.cpp | 123 using WrapperType = nn::test_wrapper::Type; typedef 404 const WrapperOperandType alphaType(WrapperType::FLOAT32, {}); in makeEluSpecialInput() 417 const WrapperOperandType biasType(WrapperType::TENSOR_FLOAT32, {problemSize}); in makeRnnSpecialInput() 435 const WrapperOperandType permType(WrapperType::TENSOR_INT32, {2}); in makeTransposeSpecialInput() 667 const WrapperOperandType problemType(WrapperType::TENSOR_FLOAT32, {problemSize, problemSize}); in TEST_P() 669 {WrapperType::TENSOR_FLOAT32, {}}, in TEST_P() 670 {WrapperType::TENSOR_FLOAT32, {0, 0}}, in TEST_P() 671 {WrapperType::TENSOR_FLOAT32, {0, problemSize}}, in TEST_P() 672 {WrapperType::TENSOR_FLOAT32, {problemSize, 0}}, in TEST_P() 677 static const WrapperOperandType activationFunctionType(WrapperType::INT32, {}); in TEST_P()
|
D | TestIntrospectionControl.cpp | 62 using WrapperType = nn::test_wrapper::Type; typedef 207 WrapperOperandType type0(WrapperType::TENSOR_FLOAT32, {2}); in createSimpleAddModel() 208 WrapperOperandType type1(WrapperType::INT32, {}); in createSimpleAddModel() 1141 WrapperOperandType type0(WrapperType::TENSOR_FLOAT32, {2}); in createAddMaxModel() 1142 WrapperOperandType type1(WrapperType::INT32, {}); in createAddMaxModel() 1206 WrapperOperandType type0(WrapperType::TENSOR_FLOAT32, {2}); in createAddMulModel() 1207 WrapperOperandType type1(WrapperType::INT32, {}); in createAddMulModel() 1253 WrapperOperandType floatType(WrapperType::TENSOR_FLOAT32, dimensions); in createCondModel() 1254 WrapperOperandType boolType(WrapperType::TENSOR_BOOL8, {1}); in createCondModel() 1268 WrapperOperandType type(WrapperType::TENSOR_FLOAT32, dimensions); in addReluOperation() [all …]
|
D | TestPartitioning.cpp | 182 using WrapperType = ::android::nn::test_wrapper::Type; typedef 687 return addOperand(WrapperType::TENSOR_INT32, dimensioned); in addIntOperand() 690 uint32_t opnd = addOperand(WrapperType::INT32); in addIntScalarOperand() 697 return addOperand(WrapperType::TENSOR_FLOAT32, dimensioned); in addFloatOperand() 700 return addOperand(WrapperType::TENSOR_QUANT8_ASYMM, dimensioned); in addQuantOperand() 703 return addOperand(WrapperType::TENSOR_BOOL8, dimensioned); in addBooleanOperand() 718 uint32_t addOperand(WrapperType wrapperType, Dimensioned dimensioned = Dimensioned::YES) { in addOperand() 765 const std::vector<uint32_t>& inputs, WrapperType outputType, in addExplicitOperationXTo1() 901 uint32_t operand = addOperand(WrapperType::INT32); in addIntOperand() 908 const uint32_t index = addOperand(WrapperType::MODEL); in addRefModelOperand() [all …]
|
D | TestRemoveDefaultArguments.cpp | 106 using WrapperType = test_wrapper::Type; typedef
|
D | TestExecution.cpp | 60 using WrapperType = nn::test_wrapper::Type; typedef 726 static const WrapperOperandType tensorType(WrapperType::TENSOR_FLOAT32, {1}); in makeModel()
|