/frameworks/ml/nn/common/include/ |
D | HalInterfaces.h | 53 using ::android::hardware::neuralnetworks::V1_2::Capabilities; 54 using ::android::hardware::neuralnetworks::V1_2::Constant; 55 using ::android::hardware::neuralnetworks::V1_2::DeviceType; 56 using ::android::hardware::neuralnetworks::V1_2::Extension; 57 using ::android::hardware::neuralnetworks::V1_2::FmqRequestDatum; 58 using ::android::hardware::neuralnetworks::V1_2::FmqResultDatum; 59 using ::android::hardware::neuralnetworks::V1_2::IBurstCallback; 60 using ::android::hardware::neuralnetworks::V1_2::IBurstContext; 61 using ::android::hardware::neuralnetworks::V1_2::IDevice; 62 using ::android::hardware::neuralnetworks::V1_2::IExecutionCallback; [all …]
|
D | Utils.h | 240 void logModelToInfo(const V1_2::Model& model); 263 case HalVersion::V1_2: in toString() 310 bool compliantWithV1_0(const V1_2::Capabilities& capabilities); 313 bool compliantWithV1_1(const V1_2::Capabilities& capabilities); 316 bool compliantWithV1_2(const V1_2::Capabilities& capabilities); 318 bool compliantWithV1_0(const V1_2::Operand& operand); 328 bool compliantWithV1_0(const V1_2::Model& model, 332 bool compliantWithV1_1(const V1_2::Model& model, 337 V1_0::Capabilities convertToV1_0(const V1_2::Capabilities& capabilities); 340 V1_1::Capabilities convertToV1_1(const V1_2::Capabilities& capabilities); [all …]
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | TestRandomGraph.cpp | 84 const sp<V1_2::IDevice> mDriverV1_2; 108 const sp<V1_2::IDevice> mDriverV1_2; 478 TEST_SINGLE_OPERATION(ADD, V1_2, kMediumCriteria); 479 TEST_SINGLE_OPERATION(MUL, V1_2, kMediumCriteria); 480 TEST_SINGLE_OPERATION(SUB, V1_2, kMediumCriteria); 481 TEST_SINGLE_OPERATION(DIV, V1_2, kRelaxedCriteria); 482 TEST_SINGLE_OPERATION(FLOOR, V1_2, kMediumCriteria); 483 TEST_SINGLE_OPERATION(LOGISTIC, V1_2, kRelaxedCriteria); 484 TEST_SINGLE_OPERATION(RELU, V1_2, kMediumCriteria); 485 TEST_SINGLE_OPERATION(RELU1, V1_2, kMediumCriteria); [all …]
|
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/ |
D | Elementwise.cpp | 37 DEFINE_ELEMENTWISE_SIGNATURE(FLOOR, V1_2, Type::TENSOR_FLOAT16); 38 DEFINE_ELEMENTWISE_SIGNATURE(LOGISTIC, V1_2, Type::TENSOR_FLOAT16); 39 DEFINE_ELEMENTWISE_SIGNATURE(RELU, V1_2, Type::TENSOR_FLOAT16); 40 DEFINE_ELEMENTWISE_SIGNATURE(RELU1, V1_2, Type::TENSOR_FLOAT16); 41 DEFINE_ELEMENTWISE_SIGNATURE(RELU6, V1_2, Type::TENSOR_FLOAT16); 52 DEFINE_ELEMENTWISE_SIGNATURE_WITH_RANK5(ABS, V1_2, Type::TENSOR_FLOAT32, Type::TENSOR_FLOAT16); 53 DEFINE_ELEMENTWISE_SIGNATURE_WITH_RANK5(EXP, V1_2, Type::TENSOR_FLOAT32, Type::TENSOR_FLOAT16); 54 DEFINE_ELEMENTWISE_SIGNATURE_WITH_RANK5(NEG, V1_2, Type::TENSOR_FLOAT32, Type::TENSOR_FLOAT16, 56 DEFINE_ELEMENTWISE_SIGNATURE_WITH_RANK5(SIN, V1_2, Type::TENSOR_FLOAT32, Type::TENSOR_FLOAT16); 57 DEFINE_ELEMENTWISE_SIGNATURE_WITH_RANK5(LOGICAL_NOT, V1_2, Type::TENSOR_BOOL8); [all …]
|
D | Broadcast.cpp | 72 DEFINE_BROADCAST_WITH_ACT_SIGNATURE(ADD, V1_2, Type::TENSOR_FLOAT16); 73 DEFINE_BROADCAST_WITH_ACT_SIGNATURE(MUL, V1_2, Type::TENSOR_FLOAT16); 74 DEFINE_BROADCAST_WITH_ACT_SIGNATURE(SUB, V1_2, Type::TENSOR_FLOAT16, Type::TENSOR_QUANT8_ASYMM); 75 DEFINE_BROADCAST_WITH_ACT_SIGNATURE(DIV, V1_2, Type::TENSOR_FLOAT16); 88 DEFINE_BROADCAST_SIGNATURE(POW, V1_2, Type::TENSOR_FLOAT32, Type::TENSOR_FLOAT16); 89 DEFINE_BROADCAST_SIGNATURE(PRELU, V1_2, Type::TENSOR_FLOAT32, Type::TENSOR_FLOAT16, 91 DEFINE_BROADCAST_SIGNATURE(MAXIMUM, V1_2, Type::TENSOR_FLOAT32, Type::TENSOR_FLOAT16, 93 DEFINE_BROADCAST_SIGNATURE(MINIMUM, V1_2, Type::TENSOR_FLOAT32, Type::TENSOR_FLOAT16, 97 DEFINE_BROADCAST_SIGNATURE(LOGICAL_AND, V1_2, Type::TENSOR_BOOL8); 98 DEFINE_BROADCAST_SIGNATURE(LOGICAL_OR, V1_2, Type::TENSOR_BOOL8); [all …]
|
/frameworks/ml/nn/runtime/test/generated/tests/ |
D | sub_quantized_different_scales.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_2, sub_quantized_different_scales, sub_quantized_different_scales::CreateMo… in TEST_AVAILABLE_SINCE() argument 30 TEST_AVAILABLE_SINCE(V1_2, sub_quantized_different_scales_2, sub_quantized_different_scales::Create… in TEST_AVAILABLE_SINCE() argument 43 TEST_AVAILABLE_SINCE(V1_2, sub_quantized_different_scales_3, sub_quantized_different_scales::Create… in TEST_AVAILABLE_SINCE() argument 56 TEST_AVAILABLE_SINCE(V1_2, sub_quantized_different_scales_4, sub_quantized_different_scales::Create… in TEST_AVAILABLE_SINCE() argument 69 TEST_AVAILABLE_SINCE(V1_2, sub_quantized_different_scales_5, sub_quantized_different_scales::Create… in TEST_AVAILABLE_SINCE() argument 82 TEST_AVAILABLE_SINCE(V1_2, sub_quantized_different_scales_6, sub_quantized_different_scales::Create… in TEST_AVAILABLE_SINCE() argument 95 TEST_AVAILABLE_SINCE(V1_2, sub_quantized_different_scales_7, sub_quantized_different_scales::Create… in TEST_AVAILABLE_SINCE() argument 108 TEST_AVAILABLE_SINCE(V1_2, sub_quantized_different_scales_8, sub_quantized_different_scales::Create… in TEST_AVAILABLE_SINCE() argument 121 TEST_AVAILABLE_SINCE(V1_2, sub_quantized_different_scales_9, sub_quantized_different_scales::Create… in TEST_AVAILABLE_SINCE() argument 134 TEST_AVAILABLE_SINCE(V1_2, sub_quantized_different_scales_10, sub_quantized_different_scales::Creat… in TEST_AVAILABLE_SINCE() argument [all …]
|
D | transpose_conv2d.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_2, transpose_conv2d_nhwc_none, transpose_conv2d::CreateModel_nhwc_none) in TEST_AVAILABLE_SINCE() argument 24 TEST_AVAILABLE_SINCE(V1_2, transpose_conv2d_nhwc_none_weight_as_input, transpose_conv2d::CreateMode… in TEST_AVAILABLE_SINCE() argument 43 TEST_AVAILABLE_SINCE(V1_2, transpose_conv2d_nhwc_none_quant8, transpose_conv2d::CreateModel_nhwc_no… in TEST_AVAILABLE_SINCE() argument 50 TEST_AVAILABLE_SINCE(V1_2, transpose_conv2d_nhwc_none_quant8_weight_as_input, transpose_conv2d::Cre… in TEST_AVAILABLE_SINCE() argument 57 TEST_AVAILABLE_SINCE(V1_2, transpose_conv2d_nhwc_none_quant8_2, transpose_conv2d::CreateModel_nhwc_… in TEST_AVAILABLE_SINCE() argument 64 TEST_AVAILABLE_SINCE(V1_2, transpose_conv2d_nhwc_none_quant8_weight_as_input_2, transpose_conv2d::C… in TEST_AVAILABLE_SINCE() argument 71 TEST_AVAILABLE_SINCE(V1_2, transpose_conv2d_nhwc_none_channelQuant8, transpose_conv2d::CreateModel_… in TEST_AVAILABLE_SINCE() argument 78 TEST_AVAILABLE_SINCE(V1_2, transpose_conv2d_nhwc_none_channelQuant8_weight_as_input, transpose_conv… in TEST_AVAILABLE_SINCE() argument 85 TEST_AVAILABLE_SINCE(V1_2, transpose_conv2d_nhwc_none_channelQuant8_2, transpose_conv2d::CreateMode… in TEST_AVAILABLE_SINCE() argument 92 TEST_AVAILABLE_SINCE(V1_2, transpose_conv2d_nhwc_none_channelQuant8_weight_as_input_2, transpose_co… in TEST_AVAILABLE_SINCE() argument [all …]
|
D | grouped_conv2d.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_2, grouped_conv2d_nhwc_none, grouped_conv2d::CreateModel_nhwc_none) in TEST_AVAILABLE_SINCE() argument 24 TEST_AVAILABLE_SINCE(V1_2, grouped_conv2d_nhwc_none_weight_as_input, grouped_conv2d::CreateModel_nh… in TEST_AVAILABLE_SINCE() argument 43 TEST_AVAILABLE_SINCE(V1_2, grouped_conv2d_nhwc_none_quant8, grouped_conv2d::CreateModel_nhwc_none_q… in TEST_AVAILABLE_SINCE() argument 50 TEST_AVAILABLE_SINCE(V1_2, grouped_conv2d_nhwc_none_quant8_weight_as_input, grouped_conv2d::CreateM… in TEST_AVAILABLE_SINCE() argument 57 TEST_AVAILABLE_SINCE(V1_2, grouped_conv2d_nhwc_none_quant8_2, grouped_conv2d::CreateModel_nhwc_none… in TEST_AVAILABLE_SINCE() argument 64 TEST_AVAILABLE_SINCE(V1_2, grouped_conv2d_nhwc_none_quant8_weight_as_input_2, grouped_conv2d::Creat… in TEST_AVAILABLE_SINCE() argument 71 TEST_AVAILABLE_SINCE(V1_2, grouped_conv2d_nhwc_none_channelQuant8, grouped_conv2d::CreateModel_nhwc… in TEST_AVAILABLE_SINCE() argument 78 TEST_AVAILABLE_SINCE(V1_2, grouped_conv2d_nhwc_none_channelQuant8_weight_as_input, grouped_conv2d::… in TEST_AVAILABLE_SINCE() argument 85 TEST_AVAILABLE_SINCE(V1_2, grouped_conv2d_nhwc_none_channelQuant8_2, grouped_conv2d::CreateModel_nh… in TEST_AVAILABLE_SINCE() argument 92 TEST_AVAILABLE_SINCE(V1_2, grouped_conv2d_nhwc_none_channelQuant8_weight_as_input_2, grouped_conv2d… in TEST_AVAILABLE_SINCE() argument [all …]
|
D | conv2d_v1_2.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc, conv2d_v1_2::CreateModel_nhwc) in TEST_AVAILABLE_SINCE() argument 30 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_quant8, conv2d_v1_2::CreateModel_nhwc_quant8) in TEST_AVAILABLE_SINCE() argument 37 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_channelQuant8, conv2d_v1_2::CreateModel_nhwc_channelQua… in TEST_AVAILABLE_SINCE() argument 44 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_float16, conv2d_v1_2::CreateModel_nhwc_float16) in TEST_AVAILABLE_SINCE() argument 51 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_weight_as_input, conv2d_v1_2::CreateModel_nhwc_weight_a… in TEST_AVAILABLE_SINCE() argument 64 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_weight_as_input_quant8, conv2d_v1_2::CreateModel_nhwc_w… in TEST_AVAILABLE_SINCE() argument 71 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_weight_as_input_channelQuant8, conv2d_v1_2::CreateModel… in TEST_AVAILABLE_SINCE() argument 78 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nhwc_weight_as_input_float16, conv2d_v1_2::CreateModel_nhwc_… in TEST_AVAILABLE_SINCE() argument 85 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nchw, conv2d_v1_2::CreateModel_nchw) in TEST_AVAILABLE_SINCE() argument 98 TEST_AVAILABLE_SINCE(V1_2, conv2d_v1_2_nchw_quant8, conv2d_v1_2::CreateModel_nchw_quant8) in TEST_AVAILABLE_SINCE() argument [all …]
|
D | softmax_v1_2.mod.py.cpp | 24 TEST_AVAILABLE_SINCE(V1_2, softmax_v1_2_dim1_axis0, softmax_v1_2::CreateModel_dim1_axis0) in TEST_AVAILABLE_SINCE() argument 31 TEST_AVAILABLE_SINCE(V1_2, softmax_v1_2_dim3_axis2, softmax_v1_2::CreateModel_dim3_axis2) in TEST_AVAILABLE_SINCE() argument 56 TEST_AVAILABLE_SINCE(V1_2, softmax_v1_2_float16, softmax_v1_2::CreateModel_float16) in TEST_AVAILABLE_SINCE() argument 63 TEST_AVAILABLE_SINCE(V1_2, softmax_v1_2_float16_dim1_axis0, softmax_v1_2::CreateModel_float16_dim1_… in TEST_AVAILABLE_SINCE() argument 70 TEST_AVAILABLE_SINCE(V1_2, softmax_v1_2_float16_dim3_axis2, softmax_v1_2::CreateModel_float16_dim3_… in TEST_AVAILABLE_SINCE() argument 84 TEST_AVAILABLE_SINCE(V1_2, softmax_v1_2_quant8_dim1_axis0, softmax_v1_2::CreateModel_quant8_dim1_ax… in TEST_AVAILABLE_SINCE() argument 91 TEST_AVAILABLE_SINCE(V1_2, softmax_v1_2_quant8_dim3_axis2, softmax_v1_2::CreateModel_quant8_dim3_ax… in TEST_AVAILABLE_SINCE() argument 177 TEST_AVAILABLE_SINCE(V1_2, softmax_v1_2_dim1_axis0_2, softmax_v1_2::CreateModel_dim1_axis0_2) in TEST_AVAILABLE_SINCE() argument 184 TEST_AVAILABLE_SINCE(V1_2, softmax_v1_2_dim3_axis2_2, softmax_v1_2::CreateModel_dim3_axis2_2) in TEST_AVAILABLE_SINCE() argument 209 TEST_AVAILABLE_SINCE(V1_2, softmax_v1_2_float16_2, softmax_v1_2::CreateModel_float16_2) in TEST_AVAILABLE_SINCE() argument [all …]
|
D | depthwise_conv2d_v1_2.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_v1_2_nhwc, depthwise_conv2d_v1_2::CreateModel_nhwc) in TEST_AVAILABLE_SINCE() argument 30 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_v1_2_nhwc_float16, depthwise_conv2d_v1_2::CreateModel_n… in TEST_AVAILABLE_SINCE() argument 37 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_v1_2_nhwc_channelQuant8, depthwise_conv2d_v1_2::CreateM… in TEST_AVAILABLE_SINCE() argument 44 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_v1_2_nhwc_channelQuant8_2, depthwise_conv2d_v1_2::Creat… in TEST_AVAILABLE_SINCE() argument 51 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_v1_2_nhwc_quant8, depthwise_conv2d_v1_2::CreateModel_nh… in TEST_AVAILABLE_SINCE() argument 58 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_v1_2_nhwc_weight_as_input, depthwise_conv2d_v1_2::Creat… in TEST_AVAILABLE_SINCE() argument 71 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_v1_2_nhwc_weight_as_input_float16, depthwise_conv2d_v1_… in TEST_AVAILABLE_SINCE() argument 78 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_v1_2_nhwc_weight_as_input_channelQuant8, depthwise_conv… in TEST_AVAILABLE_SINCE() argument 85 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_v1_2_nhwc_weight_as_input_channelQuant8_2, depthwise_co… in TEST_AVAILABLE_SINCE() argument 92 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_v1_2_nhwc_weight_as_input_quant8, depthwise_conv2d_v1_2… in TEST_AVAILABLE_SINCE() argument [all …]
|
D | resize_nearest_neighbor.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc, resize_nearest_neighbor::CreateModel… in TEST_AVAILABLE_SINCE() argument 30 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_quant8, resize_nearest_neighbor::Crea… in TEST_AVAILABLE_SINCE() argument 37 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nhwc_float16, resize_nearest_neighbor::Cre… in TEST_AVAILABLE_SINCE() argument 44 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw, resize_nearest_neighbor::CreateModel… in TEST_AVAILABLE_SINCE() argument 57 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_quant8, resize_nearest_neighbor::Crea… in TEST_AVAILABLE_SINCE() argument 64 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_shape_nchw_float16, resize_nearest_neighbor::Cre… in TEST_AVAILABLE_SINCE() argument 119 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc, resize_nearest_neighbor::CreateModel… in TEST_AVAILABLE_SINCE() argument 132 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_quant8, resize_nearest_neighbor::Crea… in TEST_AVAILABLE_SINCE() argument 139 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nhwc_float16, resize_nearest_neighbor::Cre… in TEST_AVAILABLE_SINCE() argument 146 TEST_AVAILABLE_SINCE(V1_2, resize_nearest_neighbor_scale_nchw, resize_nearest_neighbor::CreateModel… in TEST_AVAILABLE_SINCE() argument [all …]
|
D | channel_shuffle.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_2, channel_shuffle_dim4_axis0, channel_shuffle::CreateModel_dim4_axis0) in TEST_AVAILABLE_SINCE() argument 24 TEST_AVAILABLE_SINCE(V1_2, channel_shuffle_dim4_axis0_neg, channel_shuffle::CreateModel_dim4_axis0_… in TEST_AVAILABLE_SINCE() argument 31 TEST_AVAILABLE_SINCE(V1_2, channel_shuffle_dim4_axis1, channel_shuffle::CreateModel_dim4_axis1) in TEST_AVAILABLE_SINCE() argument 38 TEST_AVAILABLE_SINCE(V1_2, channel_shuffle_dim4_axis1_neg, channel_shuffle::CreateModel_dim4_axis1_… in TEST_AVAILABLE_SINCE() argument 45 TEST_AVAILABLE_SINCE(V1_2, channel_shuffle_dim4_axis2, channel_shuffle::CreateModel_dim4_axis2) in TEST_AVAILABLE_SINCE() argument 52 TEST_AVAILABLE_SINCE(V1_2, channel_shuffle_dim4_axis2_neg, channel_shuffle::CreateModel_dim4_axis2_… in TEST_AVAILABLE_SINCE() argument 59 TEST_AVAILABLE_SINCE(V1_2, channel_shuffle_dim4_axis3, channel_shuffle::CreateModel_dim4_axis3) in TEST_AVAILABLE_SINCE() argument 66 TEST_AVAILABLE_SINCE(V1_2, channel_shuffle_dim4_axis3_neg, channel_shuffle::CreateModel_dim4_axis3_… in TEST_AVAILABLE_SINCE() argument 73 TEST_AVAILABLE_SINCE(V1_2, channel_shuffle_dim3_axis0, channel_shuffle::CreateModel_dim3_axis0) in TEST_AVAILABLE_SINCE() argument 80 TEST_AVAILABLE_SINCE(V1_2, channel_shuffle_dim3_axis0_neg, channel_shuffle::CreateModel_dim3_axis0_… in TEST_AVAILABLE_SINCE() argument [all …]
|
D | conv2d_dilation.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_2, conv2d_dilation_nhwc, conv2d_dilation::CreateModel_nhwc) in TEST_AVAILABLE_SINCE() argument 30 TEST_AVAILABLE_SINCE(V1_2, conv2d_dilation_nhwc_quant8, conv2d_dilation::CreateModel_nhwc_quant8) in TEST_AVAILABLE_SINCE() argument 37 TEST_AVAILABLE_SINCE(V1_2, conv2d_dilation_nhwc_float16, conv2d_dilation::CreateModel_nhwc_float16) in TEST_AVAILABLE_SINCE() argument 44 TEST_AVAILABLE_SINCE(V1_2, conv2d_dilation_nhwc_weight_as_input, conv2d_dilation::CreateModel_nhwc_… in TEST_AVAILABLE_SINCE() argument 57 TEST_AVAILABLE_SINCE(V1_2, conv2d_dilation_nhwc_weight_as_input_quant8, conv2d_dilation::CreateMode… in TEST_AVAILABLE_SINCE() argument 64 TEST_AVAILABLE_SINCE(V1_2, conv2d_dilation_nhwc_weight_as_input_float16, conv2d_dilation::CreateMod… in TEST_AVAILABLE_SINCE() argument 71 TEST_AVAILABLE_SINCE(V1_2, conv2d_dilation_nchw, conv2d_dilation::CreateModel_nchw) in TEST_AVAILABLE_SINCE() argument 84 TEST_AVAILABLE_SINCE(V1_2, conv2d_dilation_nchw_quant8, conv2d_dilation::CreateModel_nchw_quant8) in TEST_AVAILABLE_SINCE() argument 91 TEST_AVAILABLE_SINCE(V1_2, conv2d_dilation_nchw_float16, conv2d_dilation::CreateModel_nchw_float16) in TEST_AVAILABLE_SINCE() argument 98 TEST_AVAILABLE_SINCE(V1_2, conv2d_dilation_nchw_weight_as_input, conv2d_dilation::CreateModel_nchw_… in TEST_AVAILABLE_SINCE() argument [all …]
|
D | depthwise_conv2d_dilation.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_dilation_nhwc, depthwise_conv2d_dilation::CreateModel_n… in TEST_AVAILABLE_SINCE() argument 30 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_dilation_nhwc_float16, depthwise_conv2d_dilation::Creat… in TEST_AVAILABLE_SINCE() argument 37 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_dilation_nhwc_quant8, depthwise_conv2d_dilation::Create… in TEST_AVAILABLE_SINCE() argument 44 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_dilation_nhwc_weight_as_input, depthwise_conv2d_dilatio… in TEST_AVAILABLE_SINCE() argument 57 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_dilation_nhwc_weight_as_input_float16, depthwise_conv2d… in TEST_AVAILABLE_SINCE() argument 64 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_dilation_nhwc_weight_as_input_quant8, depthwise_conv2d_… in TEST_AVAILABLE_SINCE() argument 71 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_dilation_nchw, depthwise_conv2d_dilation::CreateModel_n… in TEST_AVAILABLE_SINCE() argument 84 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_dilation_nchw_float16, depthwise_conv2d_dilation::Creat… in TEST_AVAILABLE_SINCE() argument 91 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_dilation_nchw_quant8, depthwise_conv2d_dilation::Create… in TEST_AVAILABLE_SINCE() argument 98 TEST_AVAILABLE_SINCE(V1_2, depthwise_conv2d_dilation_nchw_weight_as_input, depthwise_conv2d_dilatio… in TEST_AVAILABLE_SINCE() argument [all …]
|
D | resize_bilinear_v1_2.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_shape_nhwc, resize_bilinear_v1_2::CreateModel_shape… in TEST_AVAILABLE_SINCE() argument 30 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_shape_nhwc_float16, resize_bilinear_v1_2::CreateMod… in TEST_AVAILABLE_SINCE() argument 37 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_shape_nhwc_quant8, resize_bilinear_v1_2::CreateMode… in TEST_AVAILABLE_SINCE() argument 44 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_shape_nchw, resize_bilinear_v1_2::CreateModel_shape… in TEST_AVAILABLE_SINCE() argument 57 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_shape_nchw_float16, resize_bilinear_v1_2::CreateMod… in TEST_AVAILABLE_SINCE() argument 64 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_shape_nchw_quant8, resize_bilinear_v1_2::CreateMode… in TEST_AVAILABLE_SINCE() argument 119 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_scale_nhwc, resize_bilinear_v1_2::CreateModel_scale… in TEST_AVAILABLE_SINCE() argument 132 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_scale_nhwc_float16, resize_bilinear_v1_2::CreateMod… in TEST_AVAILABLE_SINCE() argument 139 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_scale_nhwc_quant8, resize_bilinear_v1_2::CreateMode… in TEST_AVAILABLE_SINCE() argument 146 TEST_AVAILABLE_SINCE(V1_2, resize_bilinear_v1_2_scale_nchw, resize_bilinear_v1_2::CreateModel_scale… in TEST_AVAILABLE_SINCE() argument [all …]
|
D | max_pool_v1_2.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nhwc, max_pool_v1_2::CreateModel_nhwc) in TEST_AVAILABLE_SINCE() argument 30 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nhwc_quant8, max_pool_v1_2::CreateModel_nhwc_quant8) in TEST_AVAILABLE_SINCE() argument 37 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nhwc_float16, max_pool_v1_2::CreateModel_nhwc_float16) in TEST_AVAILABLE_SINCE() argument 44 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nchw, max_pool_v1_2::CreateModel_nchw) in TEST_AVAILABLE_SINCE() argument 57 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nchw_quant8, max_pool_v1_2::CreateModel_nchw_quant8) in TEST_AVAILABLE_SINCE() argument 64 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nchw_float16, max_pool_v1_2::CreateModel_nchw_float16) in TEST_AVAILABLE_SINCE() argument 119 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nhwc_2, max_pool_v1_2::CreateModel_nhwc_2) in TEST_AVAILABLE_SINCE() argument 132 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nhwc_quant8_2, max_pool_v1_2::CreateModel_nhwc_quant8_2) in TEST_AVAILABLE_SINCE() argument 139 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nhwc_float16_2, max_pool_v1_2::CreateModel_nhwc_float16_2) in TEST_AVAILABLE_SINCE() argument 146 TEST_AVAILABLE_SINCE(V1_2, max_pool_v1_2_nchw_2, max_pool_v1_2::CreateModel_nchw_2) in TEST_AVAILABLE_SINCE() argument [all …]
|
D | roi_align.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc, roi_align::CreateModel_nhwc) in TEST_AVAILABLE_SINCE() argument 30 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc_quant8, roi_align::CreateModel_nhwc_quant8) in TEST_AVAILABLE_SINCE() argument 37 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc_float16, roi_align::CreateModel_nhwc_float16) in TEST_AVAILABLE_SINCE() argument 44 TEST_AVAILABLE_SINCE(V1_2, roi_align_nchw, roi_align::CreateModel_nchw) in TEST_AVAILABLE_SINCE() argument 57 TEST_AVAILABLE_SINCE(V1_2, roi_align_nchw_quant8, roi_align::CreateModel_nchw_quant8) in TEST_AVAILABLE_SINCE() argument 64 TEST_AVAILABLE_SINCE(V1_2, roi_align_nchw_float16, roi_align::CreateModel_nchw_float16) in TEST_AVAILABLE_SINCE() argument 119 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc_2, roi_align::CreateModel_nhwc_2) in TEST_AVAILABLE_SINCE() argument 132 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc_quant8_2, roi_align::CreateModel_nhwc_quant8_2) in TEST_AVAILABLE_SINCE() argument 139 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc_float16_2, roi_align::CreateModel_nhwc_float16_2) in TEST_AVAILABLE_SINCE() argument 146 TEST_AVAILABLE_SINCE(V1_2, roi_align_nchw_2, roi_align::CreateModel_nchw_2) in TEST_AVAILABLE_SINCE() argument [all …]
|
D | gather.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_2, gather, gather::CreateModel) in TEST_AVAILABLE_SINCE() argument 30 TEST_AVAILABLE_SINCE(V1_2, gather_quant8, gather::CreateModel_quant8) in TEST_AVAILABLE_SINCE() argument 37 TEST_AVAILABLE_SINCE(V1_2, gather_int32, gather::CreateModel_int32) in TEST_AVAILABLE_SINCE() argument 44 TEST_AVAILABLE_SINCE(V1_2, gather_float16, gather::CreateModel_float16) in TEST_AVAILABLE_SINCE() argument 81 TEST_AVAILABLE_SINCE(V1_2, gather_2, gather::CreateModel_2) in TEST_AVAILABLE_SINCE() argument 94 TEST_AVAILABLE_SINCE(V1_2, gather_quant8_2, gather::CreateModel_quant8_2) in TEST_AVAILABLE_SINCE() argument 101 TEST_AVAILABLE_SINCE(V1_2, gather_int32_2, gather::CreateModel_int32_2) in TEST_AVAILABLE_SINCE() argument 108 TEST_AVAILABLE_SINCE(V1_2, gather_float16_2, gather::CreateModel_float16_2) in TEST_AVAILABLE_SINCE() argument 145 TEST_AVAILABLE_SINCE(V1_2, gather_3, gather::CreateModel_3) in TEST_AVAILABLE_SINCE() argument 158 TEST_AVAILABLE_SINCE(V1_2, gather_quant8_3, gather::CreateModel_quant8_3) in TEST_AVAILABLE_SINCE() argument [all …]
|
D | avg_pool_v1_2.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_2, avg_pool_v1_2_nhwc, avg_pool_v1_2::CreateModel_nhwc) in TEST_AVAILABLE_SINCE() argument 30 TEST_AVAILABLE_SINCE(V1_2, avg_pool_v1_2_nhwc_float16, avg_pool_v1_2::CreateModel_nhwc_float16) in TEST_AVAILABLE_SINCE() argument 37 TEST_AVAILABLE_SINCE(V1_2, avg_pool_v1_2_nhwc_quant8, avg_pool_v1_2::CreateModel_nhwc_quant8) in TEST_AVAILABLE_SINCE() argument 44 TEST_AVAILABLE_SINCE(V1_2, avg_pool_v1_2_nchw, avg_pool_v1_2::CreateModel_nchw) in TEST_AVAILABLE_SINCE() argument 57 TEST_AVAILABLE_SINCE(V1_2, avg_pool_v1_2_nchw_float16, avg_pool_v1_2::CreateModel_nchw_float16) in TEST_AVAILABLE_SINCE() argument 64 TEST_AVAILABLE_SINCE(V1_2, avg_pool_v1_2_nchw_quant8, avg_pool_v1_2::CreateModel_nchw_quant8) in TEST_AVAILABLE_SINCE() argument 119 TEST_AVAILABLE_SINCE(V1_2, avg_pool_v1_2_nhwc_2, avg_pool_v1_2::CreateModel_nhwc_2) in TEST_AVAILABLE_SINCE() argument 132 TEST_AVAILABLE_SINCE(V1_2, avg_pool_v1_2_nhwc_float16_2, avg_pool_v1_2::CreateModel_nhwc_float16_2) in TEST_AVAILABLE_SINCE() argument 139 TEST_AVAILABLE_SINCE(V1_2, avg_pool_v1_2_nhwc_quant8_2, avg_pool_v1_2::CreateModel_nhwc_quant8_2) in TEST_AVAILABLE_SINCE() argument 146 TEST_AVAILABLE_SINCE(V1_2, avg_pool_v1_2_nchw_2, avg_pool_v1_2::CreateModel_nchw_2) in TEST_AVAILABLE_SINCE() argument [all …]
|
D | space_to_batch_v1_2.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_2, space_to_batch_v1_2_nhwc, space_to_batch_v1_2::CreateModel_nhwc) in TEST_AVAILABLE_SINCE() argument 30 TEST_AVAILABLE_SINCE(V1_2, space_to_batch_v1_2_nhwc_float16, space_to_batch_v1_2::CreateModel_nhwc_… in TEST_AVAILABLE_SINCE() argument 37 TEST_AVAILABLE_SINCE(V1_2, space_to_batch_v1_2_nhwc_quant8, space_to_batch_v1_2::CreateModel_nhwc_q… in TEST_AVAILABLE_SINCE() argument 44 TEST_AVAILABLE_SINCE(V1_2, space_to_batch_v1_2_nchw, space_to_batch_v1_2::CreateModel_nchw) in TEST_AVAILABLE_SINCE() argument 57 TEST_AVAILABLE_SINCE(V1_2, space_to_batch_v1_2_nchw_float16, space_to_batch_v1_2::CreateModel_nchw_… in TEST_AVAILABLE_SINCE() argument 64 TEST_AVAILABLE_SINCE(V1_2, space_to_batch_v1_2_nchw_quant8, space_to_batch_v1_2::CreateModel_nchw_q… in TEST_AVAILABLE_SINCE() argument 119 TEST_AVAILABLE_SINCE(V1_2, space_to_batch_v1_2_nhwc_2, space_to_batch_v1_2::CreateModel_nhwc_2) in TEST_AVAILABLE_SINCE() argument 132 TEST_AVAILABLE_SINCE(V1_2, space_to_batch_v1_2_nhwc_float16_2, space_to_batch_v1_2::CreateModel_nhw… in TEST_AVAILABLE_SINCE() argument 139 TEST_AVAILABLE_SINCE(V1_2, space_to_batch_v1_2_nhwc_quant8_2, space_to_batch_v1_2::CreateModel_nhwc… in TEST_AVAILABLE_SINCE() argument 146 TEST_AVAILABLE_SINCE(V1_2, space_to_batch_v1_2_nchw_2, space_to_batch_v1_2::CreateModel_nchw_2) in TEST_AVAILABLE_SINCE() argument [all …]
|
D | space_to_depth_v1_2.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_2, space_to_depth_v1_2_nhwc, space_to_depth_v1_2::CreateModel_nhwc) in TEST_AVAILABLE_SINCE() argument 30 TEST_AVAILABLE_SINCE(V1_2, space_to_depth_v1_2_nhwc_float16, space_to_depth_v1_2::CreateModel_nhwc_… in TEST_AVAILABLE_SINCE() argument 37 TEST_AVAILABLE_SINCE(V1_2, space_to_depth_v1_2_nhwc_quant8, space_to_depth_v1_2::CreateModel_nhwc_q… in TEST_AVAILABLE_SINCE() argument 44 TEST_AVAILABLE_SINCE(V1_2, space_to_depth_v1_2_nchw, space_to_depth_v1_2::CreateModel_nchw) in TEST_AVAILABLE_SINCE() argument 57 TEST_AVAILABLE_SINCE(V1_2, space_to_depth_v1_2_nchw_float16, space_to_depth_v1_2::CreateModel_nchw_… in TEST_AVAILABLE_SINCE() argument 64 TEST_AVAILABLE_SINCE(V1_2, space_to_depth_v1_2_nchw_quant8, space_to_depth_v1_2::CreateModel_nchw_q… in TEST_AVAILABLE_SINCE() argument 119 TEST_AVAILABLE_SINCE(V1_2, space_to_depth_v1_2_nhwc_2, space_to_depth_v1_2::CreateModel_nhwc_2) in TEST_AVAILABLE_SINCE() argument 132 TEST_AVAILABLE_SINCE(V1_2, space_to_depth_v1_2_nhwc_float16_2, space_to_depth_v1_2::CreateModel_nhw… in TEST_AVAILABLE_SINCE() argument 139 TEST_AVAILABLE_SINCE(V1_2, space_to_depth_v1_2_nhwc_quant8_2, space_to_depth_v1_2::CreateModel_nhwc… in TEST_AVAILABLE_SINCE() argument 146 TEST_AVAILABLE_SINCE(V1_2, space_to_depth_v1_2_nchw_2, space_to_depth_v1_2::CreateModel_nchw_2) in TEST_AVAILABLE_SINCE() argument [all …]
|
D | roi_pooling.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_2, roi_pooling_nhwc, roi_pooling::CreateModel_nhwc) in TEST_AVAILABLE_SINCE() argument 30 TEST_AVAILABLE_SINCE(V1_2, roi_pooling_nhwc_quant8, roi_pooling::CreateModel_nhwc_quant8) in TEST_AVAILABLE_SINCE() argument 37 TEST_AVAILABLE_SINCE(V1_2, roi_pooling_nhwc_float16, roi_pooling::CreateModel_nhwc_float16) in TEST_AVAILABLE_SINCE() argument 44 TEST_AVAILABLE_SINCE(V1_2, roi_pooling_nchw, roi_pooling::CreateModel_nchw) in TEST_AVAILABLE_SINCE() argument 57 TEST_AVAILABLE_SINCE(V1_2, roi_pooling_nchw_quant8, roi_pooling::CreateModel_nchw_quant8) in TEST_AVAILABLE_SINCE() argument 64 TEST_AVAILABLE_SINCE(V1_2, roi_pooling_nchw_float16, roi_pooling::CreateModel_nchw_float16) in TEST_AVAILABLE_SINCE() argument 119 TEST_AVAILABLE_SINCE(V1_2, roi_pooling_nhwc_2, roi_pooling::CreateModel_nhwc_2) in TEST_AVAILABLE_SINCE() argument 132 TEST_AVAILABLE_SINCE(V1_2, roi_pooling_nhwc_quant8_2, roi_pooling::CreateModel_nhwc_quant8_2) in TEST_AVAILABLE_SINCE() argument 139 TEST_AVAILABLE_SINCE(V1_2, roi_pooling_nhwc_float16_2, roi_pooling::CreateModel_nhwc_float16_2) in TEST_AVAILABLE_SINCE() argument 146 TEST_AVAILABLE_SINCE(V1_2, roi_pooling_nchw_2, roi_pooling::CreateModel_nchw_2) in TEST_AVAILABLE_SINCE() argument [all …]
|
D | depth_to_space_v1_2.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_2, depth_to_space_v1_2_nhwc, depth_to_space_v1_2::CreateModel_nhwc) in TEST_AVAILABLE_SINCE() argument 30 TEST_AVAILABLE_SINCE(V1_2, depth_to_space_v1_2_nhwc_float16, depth_to_space_v1_2::CreateModel_nhwc_… in TEST_AVAILABLE_SINCE() argument 37 TEST_AVAILABLE_SINCE(V1_2, depth_to_space_v1_2_nhwc_quant8, depth_to_space_v1_2::CreateModel_nhwc_q… in TEST_AVAILABLE_SINCE() argument 44 TEST_AVAILABLE_SINCE(V1_2, depth_to_space_v1_2_nchw, depth_to_space_v1_2::CreateModel_nchw) in TEST_AVAILABLE_SINCE() argument 57 TEST_AVAILABLE_SINCE(V1_2, depth_to_space_v1_2_nchw_float16, depth_to_space_v1_2::CreateModel_nchw_… in TEST_AVAILABLE_SINCE() argument 64 TEST_AVAILABLE_SINCE(V1_2, depth_to_space_v1_2_nchw_quant8, depth_to_space_v1_2::CreateModel_nchw_q… in TEST_AVAILABLE_SINCE() argument 119 TEST_AVAILABLE_SINCE(V1_2, depth_to_space_v1_2_nhwc_2, depth_to_space_v1_2::CreateModel_nhwc_2) in TEST_AVAILABLE_SINCE() argument 132 TEST_AVAILABLE_SINCE(V1_2, depth_to_space_v1_2_nhwc_float16_2, depth_to_space_v1_2::CreateModel_nhw… in TEST_AVAILABLE_SINCE() argument 139 TEST_AVAILABLE_SINCE(V1_2, depth_to_space_v1_2_nhwc_quant8_2, depth_to_space_v1_2::CreateModel_nhwc… in TEST_AVAILABLE_SINCE() argument 146 TEST_AVAILABLE_SINCE(V1_2, depth_to_space_v1_2_nchw_2, depth_to_space_v1_2::CreateModel_nchw_2) in TEST_AVAILABLE_SINCE() argument [all …]
|
/frameworks/ml/nn/common/ |
D | ValidateHal.cpp | 41 struct ModelToHalVersion<V1_2::Model> { 42 static constexpr HalVersion version = HalVersion::V1_2; 74 static bool validateOperandExtraParams(const V1_2::Operand& operand, uint32_t index) { in validateOperandExtraParams() 89 V1_2::Operand::ExtraParams::hidl_discriminator::none) in validateOperandExtraParams() 96 V1_2::Operand::ExtraParams::hidl_discriminator::channelQuant) in validateOperandExtraParams() 126 V1_2::Operand::ExtraParams::hidl_discriminator::extension || in validateOperandExtraParams() 128 V1_2::Operand::ExtraParams::hidl_discriminator::none) in validateOperandExtraParams() 153 V1_2::Operand operand = convertToV1_2(versionedOperand); in validateOperands() 378 static HalVersion getHalVersion(const V1_2::Operation&) { in getHalVersion() 379 return HalVersion::V1_2; in getHalVersion() [all …]
|