/frameworks/ml/nn/common/ |
D | Utils.cpp | 94 bool isExtensionOperandType(OperandType type) { in isExtensionOperandType() 135 OperandType getInputType(uint32_t index) const override; 140 OperandType getOutputType(uint32_t index) const override; 177 OperandType OperationValidationContext::getInputType(uint32_t index) const { in getInputType() 191 OperandType OperationValidationContext::getOutputType(uint32_t index) const { in getOutputType() 205 std::string getOperandTypeName(OperandType type) { in getOperandTypeName() 276 uint32_t nonExtensionOperandSizeOfData(OperandType type, const std::vector<uint32_t>& dimensions) { in nonExtensionOperandSizeOfData() 367 if (halOperand.type != OperandType::TENSOR_QUANT8_SYMM_PER_CHANNEL) { in validateOperandSymmPerChannelQuantParams() 502 const std::vector<OperandType>& inExpectedTypes, in validateOperationOperandTypes() 504 const std::vector<OperandType>& outExpectedInTypes) { in validateOperationOperandTypes() [all …]
|
D | ValidateHal.cpp | 76 case OperandType::FLOAT32: in validateOperandExtraParams() 77 case OperandType::INT32: in validateOperandExtraParams() 78 case OperandType::UINT32: in validateOperandExtraParams() 79 case OperandType::BOOL: in validateOperandExtraParams() 80 case OperandType::TENSOR_FLOAT32: in validateOperandExtraParams() 81 case OperandType::TENSOR_FLOAT16: in validateOperandExtraParams() 82 case OperandType::TENSOR_INT32: in validateOperandExtraParams() 83 case OperandType::TENSOR_QUANT8_ASYMM: in validateOperandExtraParams() 84 case OperandType::TENSOR_QUANT8_SYMM: in validateOperandExtraParams() 85 case OperandType::TENSOR_QUANT16_ASYMM: in validateOperandExtraParams() [all …]
|
/frameworks/ml/nn/runtime/test/generated/vts_models/ |
D | layer_norm_lstm.model.cpp | 7 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 16 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 25 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 34 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 43 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 52 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 61 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 70 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 79 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 88 .type = OperandType::TENSOR_FLOAT32, in createTestModel() [all …]
|
D | bidirectional_sequence_lstm_float16_batch_major.model.cpp | 7 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 16 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 25 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 34 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 43 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 52 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 61 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 70 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 79 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 88 .type = OperandType::TENSOR_FLOAT16, in createTestModel() [all …]
|
D | bidirectional_sequence_lstm_norm_fw_output.model.cpp | 7 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 16 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 25 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 34 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 43 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 52 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 61 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 70 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 79 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 88 .type = OperandType::TENSOR_FLOAT32, in createTestModel() [all …]
|
D | bidirectional_sequence_lstm_aux_input.model.cpp | 7 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 16 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 25 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 34 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 43 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 52 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 61 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 70 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 79 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 88 .type = OperandType::TENSOR_FLOAT32, in createTestModel() [all …]
|
D | bidirectional_sequence_lstm_float16_batch_major_aux_input.model.cpp | 7 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 16 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 25 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 34 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 43 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 52 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 61 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 70 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 79 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 88 .type = OperandType::TENSOR_FLOAT16, in createTestModel() [all …]
|
D | bidirectional_sequence_lstm_cifg_peephole.model.cpp | 7 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 16 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 25 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 34 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 43 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 52 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 61 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 70 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 79 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 88 .type = OperandType::TENSOR_FLOAT32, in createTestModel() [all …]
|
D | bidirectional_sequence_lstm.model.cpp | 7 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 16 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 25 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 34 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 43 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 52 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 61 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 70 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 79 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 88 .type = OperandType::TENSOR_FLOAT32, in createTestModel() [all …]
|
D | unidirectional_sequence_lstm_layer_norm_cifg_peephole.model.cpp | 7 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 16 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 25 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 34 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 43 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 52 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 61 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 70 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 79 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 88 .type = OperandType::TENSOR_FLOAT32, in createTestModel() [all …]
|
D | bidirectional_sequence_lstm_float16_batch_major_merge_outputs.model.cpp | 7 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 16 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 25 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 34 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 43 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 52 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 61 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 70 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 79 .type = OperandType::TENSOR_FLOAT16, in createTestModel() 88 .type = OperandType::TENSOR_FLOAT16, in createTestModel() [all …]
|
D | bidirectional_sequence_lstm_merge_outputs.model.cpp | 7 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 16 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 25 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 34 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 43 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 52 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 61 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 70 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 79 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 88 .type = OperandType::TENSOR_FLOAT32, in createTestModel() [all …]
|
D | concat_zero_sized.model.cpp | 7 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 16 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 25 .type = OperandType::TENSOR_INT32, in createTestModel() 34 .type = OperandType::FLOAT32, in createTestModel() 43 .type = OperandType::INT32, in createTestModel() 52 .type = OperandType::INT32, in createTestModel() 61 .type = OperandType::FLOAT32, in createTestModel() 70 .type = OperandType::FLOAT32, in createTestModel() 79 .type = OperandType::FLOAT32, in createTestModel() 88 .type = OperandType::TENSOR_FLOAT32, in createTestModel() [all …]
|
D | bbox_graph.model.cpp | 7 .type = OperandType::TENSOR_FLOAT32, in createTestModel_zero_sized() 16 .type = OperandType::TENSOR_FLOAT32, in createTestModel_zero_sized() 25 .type = OperandType::TENSOR_FLOAT32, in createTestModel_zero_sized() 34 .type = OperandType::TENSOR_FLOAT32, in createTestModel_zero_sized() 43 .type = OperandType::FLOAT32, in createTestModel_zero_sized() 52 .type = OperandType::FLOAT32, in createTestModel_zero_sized() 61 .type = OperandType::INT32, in createTestModel_zero_sized() 70 .type = OperandType::INT32, in createTestModel_zero_sized() 79 .type = OperandType::FLOAT32, in createTestModel_zero_sized() 88 .type = OperandType::FLOAT32, in createTestModel_zero_sized() [all …]
|
D | avg_pool_v1_2.model.cpp | 7 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc() 16 .type = OperandType::INT32, in createTestModel_nhwc() 25 .type = OperandType::INT32, in createTestModel_nhwc() 34 .type = OperandType::INT32, in createTestModel_nhwc() 43 .type = OperandType::INT32, in createTestModel_nhwc() 52 .type = OperandType::INT32, in createTestModel_nhwc() 61 .type = OperandType::INT32, in createTestModel_nhwc() 70 .type = OperandType::INT32, in createTestModel_nhwc() 79 .type = OperandType::INT32, in createTestModel_nhwc() 88 .type = OperandType::INT32, in createTestModel_nhwc() [all …]
|
D | l2_pool_v1_2.model.cpp | 7 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc() 16 .type = OperandType::INT32, in createTestModel_nhwc() 25 .type = OperandType::INT32, in createTestModel_nhwc() 34 .type = OperandType::INT32, in createTestModel_nhwc() 43 .type = OperandType::INT32, in createTestModel_nhwc() 52 .type = OperandType::INT32, in createTestModel_nhwc() 61 .type = OperandType::INT32, in createTestModel_nhwc() 70 .type = OperandType::INT32, in createTestModel_nhwc() 79 .type = OperandType::INT32, in createTestModel_nhwc() 88 .type = OperandType::INT32, in createTestModel_nhwc() [all …]
|
D | roi_align.model.cpp | 7 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc() 16 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc() 25 .type = OperandType::TENSOR_INT32, in createTestModel_nhwc() 34 .type = OperandType::INT32, in createTestModel_nhwc() 43 .type = OperandType::INT32, in createTestModel_nhwc() 52 .type = OperandType::FLOAT32, in createTestModel_nhwc() 61 .type = OperandType::FLOAT32, in createTestModel_nhwc() 70 .type = OperandType::INT32, in createTestModel_nhwc() 79 .type = OperandType::INT32, in createTestModel_nhwc() 88 .type = OperandType::BOOL, in createTestModel_nhwc() [all …]
|
D | conv2d_dilation.model.cpp | 7 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc() 16 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc() 25 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc() 34 .type = OperandType::INT32, in createTestModel_nhwc() 43 .type = OperandType::INT32, in createTestModel_nhwc() 52 .type = OperandType::INT32, in createTestModel_nhwc() 61 .type = OperandType::INT32, in createTestModel_nhwc() 70 .type = OperandType::INT32, in createTestModel_nhwc() 79 .type = OperandType::INT32, in createTestModel_nhwc() 88 .type = OperandType::INT32, in createTestModel_nhwc() [all …]
|
D | depthwise_conv2d_dilation.model.cpp | 7 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc() 16 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc() 25 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc() 34 .type = OperandType::INT32, in createTestModel_nhwc() 43 .type = OperandType::INT32, in createTestModel_nhwc() 52 .type = OperandType::INT32, in createTestModel_nhwc() 61 .type = OperandType::INT32, in createTestModel_nhwc() 70 .type = OperandType::INT32, in createTestModel_nhwc() 79 .type = OperandType::INT32, in createTestModel_nhwc() 88 .type = OperandType::INT32, in createTestModel_nhwc() [all …]
|
D | max_pool_v1_2.model.cpp | 7 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc() 16 .type = OperandType::INT32, in createTestModel_nhwc() 25 .type = OperandType::INT32, in createTestModel_nhwc() 34 .type = OperandType::INT32, in createTestModel_nhwc() 43 .type = OperandType::INT32, in createTestModel_nhwc() 52 .type = OperandType::INT32, in createTestModel_nhwc() 61 .type = OperandType::INT32, in createTestModel_nhwc() 70 .type = OperandType::INT32, in createTestModel_nhwc() 79 .type = OperandType::INT32, in createTestModel_nhwc() 88 .type = OperandType::INT32, in createTestModel_nhwc() [all …]
|
D | detection_postprocess.model.cpp | 7 .type = OperandType::TENSOR_FLOAT32, in createTestModel_regular() 16 .type = OperandType::TENSOR_FLOAT32, in createTestModel_regular() 25 .type = OperandType::TENSOR_FLOAT32, in createTestModel_regular() 34 .type = OperandType::FLOAT32, in createTestModel_regular() 43 .type = OperandType::FLOAT32, in createTestModel_regular() 52 .type = OperandType::FLOAT32, in createTestModel_regular() 61 .type = OperandType::FLOAT32, in createTestModel_regular() 70 .type = OperandType::BOOL, in createTestModel_regular() 79 .type = OperandType::INT32, in createTestModel_regular() 88 .type = OperandType::INT32, in createTestModel_regular() [all …]
|
D | bidirectional_sequence_rnn.model.cpp | 7 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 16 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 25 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 34 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 43 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 52 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 61 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 70 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 79 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 88 .type = OperandType::TENSOR_FLOAT32, in createTestModel() [all …]
|
D | fully_connected_v1_2.model.cpp | 7 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 16 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 25 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 34 .type = OperandType::INT32, in createTestModel() 43 .type = OperandType::TENSOR_FLOAT32, in createTestModel() 87 .type = OperandType::TENSOR_FLOAT32, in createTestModel_relaxed() 96 .type = OperandType::TENSOR_FLOAT32, in createTestModel_relaxed() 105 .type = OperandType::TENSOR_FLOAT32, in createTestModel_relaxed() 114 .type = OperandType::INT32, in createTestModel_relaxed() 123 .type = OperandType::TENSOR_FLOAT32, in createTestModel_relaxed() [all …]
|
D | depthwise_conv2d_v1_2.model.cpp | 7 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc() 16 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc() 25 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc() 34 .type = OperandType::INT32, in createTestModel_nhwc() 43 .type = OperandType::INT32, in createTestModel_nhwc() 52 .type = OperandType::INT32, in createTestModel_nhwc() 61 .type = OperandType::INT32, in createTestModel_nhwc() 70 .type = OperandType::INT32, in createTestModel_nhwc() 79 .type = OperandType::INT32, in createTestModel_nhwc() 88 .type = OperandType::INT32, in createTestModel_nhwc() [all …]
|
/frameworks/ml/nn/runtime/test/generated/models/ |
D | heatmap_max_keypoint.model.cpp | 4 OperandType type0(Type::BOOL, {}); in CreateModel_nhwc() 5 OperandType type1(Type::TENSOR_FLOAT32, {6, 4, 4, 1}); in CreateModel_nhwc() 6 OperandType type2(Type::TENSOR_FLOAT32, {6, 4}); in CreateModel_nhwc() 7 OperandType type3(Type::TENSOR_FLOAT32, {6, 1}); in CreateModel_nhwc() 8 OperandType type4(Type::TENSOR_FLOAT32, {6, 1, 2}); in CreateModel_nhwc() 32 OperandType type0(Type::BOOL, {}); in CreateModel_nhwc_relaxed() 33 OperandType type1(Type::TENSOR_FLOAT32, {6, 4, 4, 1}); in CreateModel_nhwc_relaxed() 34 OperandType type2(Type::TENSOR_FLOAT32, {6, 4}); in CreateModel_nhwc_relaxed() 35 OperandType type3(Type::TENSOR_FLOAT32, {6, 1}); in CreateModel_nhwc_relaxed() 36 OperandType type4(Type::TENSOR_FLOAT32, {6, 1, 2}); in CreateModel_nhwc_relaxed() [all …]
|