/packages/modules/NeuralNetworks/runtime/test/ |
D | TestMemoryInternal.cpp | 39 using WrapperType = ::android::nn::test_wrapper::Type; typedef 124 WrapperOperandType matrixType(WrapperType::TENSOR_FLOAT32, {3, 4}); in TEST_F() 125 WrapperOperandType scalarType(WrapperType::INT32, {}); in TEST_F() 208 WrapperOperandType type3(WrapperType::INT32, {}); in TEST_F() 209 WrapperOperandType type2(WrapperType::TENSOR_INT32, {128}, 0.25, 0); in TEST_F() 210 WrapperOperandType type0(WrapperType::TENSOR_QUANT8_ASYMM, {12, 104, 104, 128}, 0.5, 0); in TEST_F() 211 WrapperOperandType type4(WrapperType::TENSOR_QUANT8_ASYMM, {12, 92, 92, 128}, 1.0, 0); in TEST_F() 212 WrapperOperandType type1(WrapperType::TENSOR_QUANT8_ASYMM, {128, 13, 13, 128}, 0.5, 0); in TEST_F()
|
D | TestMemory.cpp | 38 using WrapperType = ::android::nn::test_wrapper::Type; typedef 65 WrapperOperandType matrixType(WrapperType::TENSOR_FLOAT32, {3, 4}); in TEST_F() 66 WrapperOperandType scalarType(WrapperType::INT32, {}); in TEST_F() 128 WrapperOperandType matrixType(WrapperType::TENSOR_FLOAT32, {3, 4}); in TEST_F() 129 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 | 37 using WrapperType = test_wrapper::Type; typedef 61 static const WrapperOperandType kTypeTensorFloat(WrapperType::TENSOR_FLOAT32, {1}); 62 static const WrapperOperandType kTypeTensorFloatRank0(WrapperType::TENSOR_FLOAT32, {}); 63 static const WrapperOperandType kTypeInt32(WrapperType::INT32, {});
|
D | TestPartitioningRandom.cpp | 120 using WrapperType = nn::test_wrapper::Type; typedef 401 const WrapperOperandType alphaType(WrapperType::FLOAT32, {}); in makeEluSpecialInput() 414 const WrapperOperandType biasType(WrapperType::TENSOR_FLOAT32, {problemSize}); in makeRnnSpecialInput() 432 const WrapperOperandType permType(WrapperType::TENSOR_INT32, {2}); in makeTransposeSpecialInput() 650 const WrapperOperandType problemType(WrapperType::TENSOR_FLOAT32, {problemSize, problemSize}); in TEST_P() 652 {WrapperType::TENSOR_FLOAT32, {}}, in TEST_P() 653 {WrapperType::TENSOR_FLOAT32, {0, 0}}, in TEST_P() 654 {WrapperType::TENSOR_FLOAT32, {0, problemSize}}, in TEST_P() 655 {WrapperType::TENSOR_FLOAT32, {problemSize, 0}}, in TEST_P() 660 static const WrapperOperandType activationFunctionType(WrapperType::INT32, {}); in TEST_P()
|
D | TestIntrospectionControl.cpp | 63 using WrapperType = nn::test_wrapper::Type; typedef 208 WrapperOperandType type0(WrapperType::TENSOR_FLOAT32, {2}); in createSimpleAddModel() 209 WrapperOperandType type1(WrapperType::INT32, {}); in createSimpleAddModel() 1142 WrapperOperandType type0(WrapperType::TENSOR_FLOAT32, {2}); in createAddMaxModel() 1143 WrapperOperandType type1(WrapperType::INT32, {}); in createAddMaxModel() 1207 WrapperOperandType type0(WrapperType::TENSOR_FLOAT32, {2}); in createAddMulModel() 1208 WrapperOperandType type1(WrapperType::INT32, {}); in createAddMulModel() 1254 WrapperOperandType floatType(WrapperType::TENSOR_FLOAT32, dimensions); in createCondModel() 1255 WrapperOperandType boolType(WrapperType::TENSOR_BOOL8, {1}); in createCondModel() 1269 WrapperOperandType type(WrapperType::TENSOR_FLOAT32, dimensions); in addReluOperation() [all …]
|
D | TestPartitioning.cpp | 183 using WrapperType = ::android::nn::test_wrapper::Type; typedef 688 return addOperand(WrapperType::TENSOR_INT32, dimensioned); in addIntOperand() 691 uint32_t opnd = addOperand(WrapperType::INT32); in addIntScalarOperand() 698 return addOperand(WrapperType::TENSOR_FLOAT32, dimensioned); in addFloatOperand() 701 return addOperand(WrapperType::TENSOR_QUANT8_ASYMM, dimensioned); in addQuantOperand() 704 return addOperand(WrapperType::TENSOR_BOOL8, dimensioned); in addBooleanOperand() 719 uint32_t addOperand(WrapperType wrapperType, Dimensioned dimensioned = Dimensioned::YES) { in addOperand() 766 const std::vector<uint32_t>& inputs, WrapperType outputType, in addExplicitOperationXTo1() 902 uint32_t operand = addOperand(WrapperType::INT32); in addIntOperand() 909 const uint32_t index = addOperand(WrapperType::MODEL); in addRefModelOperand() [all …]
|
D | TestRemoveDefaultArguments.cpp | 106 using WrapperType = test_wrapper::Type; typedef
|
D | TestExecution.cpp | 61 using WrapperType = nn::test_wrapper::Type; typedef 727 static const WrapperOperandType tensorType(WrapperType::TENSOR_FLOAT32, {1}); in makeModel()
|