/packages/modules/NeuralNetworks/common/types/operations/src/ |
D | Reshape.cpp | 36 std::vector<OperandType> outExpectedTypes; in validateDepthToSpace() local 40 outExpectedTypes = {OperandType::TENSOR_FLOAT32}; in validateDepthToSpace() 44 outExpectedTypes = {OperandType::TENSOR_FLOAT16}; in validateDepthToSpace() 48 outExpectedTypes = {OperandType::TENSOR_QUANT8_ASYMM}; in validateDepthToSpace() 52 outExpectedTypes = {OperandType::TENSOR_QUANT8_ASYMM_SIGNED}; in validateDepthToSpace() 63 NN_TRY(context->validateOperationOperandTypes(inExpectedTypes, outExpectedTypes)); in validateDepthToSpace() 76 std::vector<OperandType> outExpectedTypes; in validateSpaceToDepth() local 80 outExpectedTypes = {OperandType::TENSOR_FLOAT32}; in validateSpaceToDepth() 84 outExpectedTypes = {OperandType::TENSOR_FLOAT16}; in validateSpaceToDepth() 88 outExpectedTypes = {OperandType::TENSOR_QUANT8_ASYMM}; in validateSpaceToDepth() [all …]
|
D | GenerateProposals.cpp | 60 std::vector<OperandType> outExpectedTypes; in validate() local 67 outExpectedTypes = {OperandType::TENSOR_FLOAT16, OperandType::TENSOR_FLOAT16, in validate() 74 outExpectedTypes = {OperandType::TENSOR_FLOAT32, OperandType::TENSOR_FLOAT32, in validate() 87 outExpectedTypes = {inputType, OperandType::TENSOR_QUANT16_ASYMM, OperandType::TENSOR_INT32, in validate() 93 NN_RET_CHECK(validateOutputTypes(context, outExpectedTypes)); in validate() 109 std::vector<OperandType> outExpectedTypes; in validate() local 123 outExpectedTypes = {OperandType::TENSOR_FLOAT16, OperandType::TENSOR_FLOAT16, in validate() 137 outExpectedTypes = {OperandType::TENSOR_FLOAT32, OperandType::TENSOR_FLOAT32, in validate() 152 outExpectedTypes = {inputType, OperandType::TENSOR_QUANT16_ASYMM, in validate() 158 NN_RET_CHECK(validateOutputTypes(context, outExpectedTypes)); in validate() [all …]
|
D | HeatmapMaxKeypoint.cpp | 30 std::vector<OperandType> outExpectedTypes; in validate() local 35 outExpectedTypes = {inputType, inputType}; in validate() 39 outExpectedTypes = {OperandType::TENSOR_QUANT8_ASYMM, OperandType::TENSOR_QUANT16_ASYMM}; in validate() 43 outExpectedTypes = {OperandType::TENSOR_QUANT8_ASYMM_SIGNED, in validate() 50 NN_RET_CHECK(validateOutputTypes(context, outExpectedTypes)); in validate()
|
D | UnidirectionalSequenceLSTM.cpp | 32 std::vector<OperandType> outExpectedTypes; in validate() local 48 outExpectedTypes = {OperandType::TENSOR_FLOAT32}; in validate() 64 outExpectedTypes = {OperandType::TENSOR_FLOAT16}; in validate() 73 outExpectedTypes.insert(outExpectedTypes.end(), {inputType, inputType}); in validate() 76 NN_RET_CHECK(validateOutputTypes(context, outExpectedTypes)); in validate()
|
D | QLSTM.cpp | 65 std::vector<OperandType> outExpectedTypes; in validate() local 67 outExpectedTypes.push_back(OperandType::TENSOR_QUANT8_ASYMM_SIGNED); in validate() 69 outExpectedTypes.push_back(OperandType::TENSOR_QUANT16_SYMM); in validate() 71 outExpectedTypes.push_back(OperandType::TENSOR_QUANT8_ASYMM_SIGNED); in validate() 72 NN_RET_CHECK(validateOutputTypes(context, outExpectedTypes)); in validate()
|
D | GroupedConv2D.cpp | 35 std::vector<OperandType> outExpectedTypes; in validate() local 41 outExpectedTypes = {OperandType::TENSOR_FLOAT32}; in validate() 47 outExpectedTypes = {OperandType::TENSOR_FLOAT16}; in validate() 63 outExpectedTypes = {inputType}; in validate() 81 NN_TRY(context->validateOperationOperandTypes(inExpectedTypes, outExpectedTypes)); in validate()
|
D | LogSoftmax.cpp | 31 std::vector<OperandType> outExpectedTypes; in validate() local 34 outExpectedTypes = {OperandType::TENSOR_FLOAT32}; in validate() 37 outExpectedTypes = {OperandType::TENSOR_FLOAT16}; in validate() 42 NN_RET_CHECK(validateOutputTypes(context, outExpectedTypes)); in validate()
|
D | RNN.cpp | 32 std::vector<OperandType> outExpectedTypes; in validate() local 40 outExpectedTypes = { in validate() 51 outExpectedTypes = { in validate() 59 NN_TRY(context->validateOperationOperandTypes(inExpectedTypes, outExpectedTypes)); in validate()
|
D | Cast.cpp | 37 std::vector<OperandType> outExpectedTypes; in validate() local 45 outExpectedTypes = {outputType}; in validate() 53 outExpectedTypes = {inputType}; // Only identity CAST is supported. in validate() 69 NN_TRY(context->validateOperationOperandTypes(inExpectedTypes, outExpectedTypes)); in validate()
|
D | Pow.cpp | 31 std::vector<OperandType> outExpectedTypes; in validate() local 34 outExpectedTypes = {inputType}; in validate() 45 NN_TRY(context->validateOperationOperandTypes(inExpectedTypes, outExpectedTypes)); in validate()
|
D | ArgMinMax.cpp | 29 std::vector<OperandType> outExpectedTypes; in validate() local 34 outExpectedTypes = {OperandType::TENSOR_INT32}; in validate() 39 NN_TRY(context->validateOperationOperandTypes(inExpectedTypes, outExpectedTypes)); in validate()
|
D | Tile.cpp | 31 std::vector<OperandType> outExpectedTypes; in validate() local 36 outExpectedTypes = {inputType}; in validate() 47 NN_TRY(context->validateOperationOperandTypes(inExpectedTypes, outExpectedTypes)); in validate()
|
D | ExpandDims.cpp | 31 std::vector<OperandType> outExpectedTypes; in validate() local 36 outExpectedTypes = {inputType}; in validate() 47 NN_TRY(context->validateOperationOperandTypes(inExpectedTypes, outExpectedTypes)); in validate()
|
D | MaximumMinimum.cpp | 30 std::vector<OperandType> outExpectedTypes; in validate() local 36 outExpectedTypes = {inputType}; in validate() 47 NN_TRY(context->validateOperationOperandTypes(inExpectedTypes, outExpectedTypes)); in validate()
|
D | LocalResponseNormalization.cpp | 33 std::vector<OperandType> outExpectedTypes; in validate() local 41 outExpectedTypes = {OperandType::TENSOR_FLOAT32}; in validate() 48 outExpectedTypes = {OperandType::TENSOR_FLOAT16}; in validate()
|
D | LSTM.cpp | 34 std::vector<OperandType> outExpectedTypes; in validate() local 54 outExpectedTypes = {inputType, inputType, inputType, inputType}; in validate() 63 NN_TRY(context->validateOperationOperandTypes(inExpectedTypes, outExpectedTypes)); in validate()
|
D | Multinomial.cpp | 37 std::vector<OperandType> outExpectedTypes = {OperandType::TENSOR_INT32}; in validate() local 38 NN_TRY(context->validateOperationOperandTypes(inExpectedTypes, outExpectedTypes)); in validate()
|
D | HashtableLookup.cpp | 36 std::vector<OperandType> outExpectedTypes = {inputType, OperandType::TENSOR_QUANT8_ASYMM}; in validate() local 37 NN_TRY(context->validateOperationOperandTypes(inExpectedTypes, outExpectedTypes)); in validate()
|
D | SVDF.cpp | 43 std::vector<OperandType> outExpectedTypes = {inputType, inputType}; in validate() local 44 NN_TRY(context->validateOperationOperandTypes(inExpectedTypes, outExpectedTypes)); in validate()
|
D | QuantizedLSTM.cpp | 38 std::vector<OperandType> outExpectedTypes = {OperandType::TENSOR_QUANT16_SYMM, in validate() local 40 NN_TRY(context->validateOperationOperandTypes(inExpectedTypes, outExpectedTypes)); in validate()
|
D | Split.cpp | 44 std::vector<OperandType> outExpectedTypes(context->getNumOutputs(), inputType); in validate() local 45 NN_TRY(context->validateOperationOperandTypes(inExpectedTypes, outExpectedTypes)); in validate()
|
D | SimpleMath.cpp | 46 std::vector<OperandType> outExpectedTypes = {inputType}; in validate() local 47 NN_TRY(context->validateOperationOperandTypes(inExpectedTypes, outExpectedTypes)); in validate()
|
D | EmbeddingLookup.cpp | 38 std::vector<OperandType> outExpectedTypes = {inputType}; in validate() local 48 NN_TRY(context->validateOperationOperandTypes(inExpectedTypes, outExpectedTypes)); in validate()
|
D | BidirectionalSequenceRNN.cpp | 44 std::vector<OperandType> outExpectedTypes(numOutputs, inputType); in validate() local 45 NN_RET_CHECK(validateOutputTypes(context, outExpectedTypes)); in validate()
|
/packages/modules/NeuralNetworks/common/ |
D | LegacyUtils.cpp | 740 std::vector<OperandType> outExpectedTypes; in validateOperation() local 744 outExpectedTypes = {OperandType::TENSOR_FLOAT32}; in validateOperation() 748 outExpectedTypes = {OperandType::TENSOR_FLOAT16}; in validateOperation() 752 outExpectedTypes = {OperandType::TENSOR_QUANT8_ASYMM}; in validateOperation() 757 outExpectedTypes = {OperandType::TENSOR_QUANT8_ASYMM_SIGNED}; in validateOperation() 761 outExpectedTypes = {OperandType::TENSOR_INT32}; in validateOperation() 773 outExpectedTypes); in validateOperation() 784 std::vector<OperandType> outExpectedTypes; in validateOperation() local 788 outExpectedTypes = {OperandType::TENSOR_FLOAT32}; in validateOperation() 792 outExpectedTypes = {OperandType::TENSOR_FLOAT16}; in validateOperation() [all …]
|