/frameworks/base/libs/androidfw/ |
D | ResourceUtils.cpp | 59 out_name->type16 = nullptr; in ToResourceName() 61 out_name->type16 = type_string_ref.string16(&out_name->type_len); in ToResourceName() 62 if (out_name->type16 == nullptr) { in ToResourceName() 85 if (resource_name->type != nullptr || resource_name->type16 != nullptr) { in ToFormattedResourceString() 93 result += util::Utf16ToUtf8(StringPiece16(resource_name->type16, resource_name->type_len)); in ToFormattedResourceString()
|
/frameworks/ml/nn/runtime/test/generated/models/ |
D | unidirectional_sequence_lstm_layer_norm_cifg_peephole.model.cpp | 142 OperandType type16(Type::TENSOR_FLOAT16, {0}); in CreateModel_float16() local 161 auto cell_to_input_weights = model->addOperand(&type16); in CreateModel_float16() 164 auto input_gate_bias = model->addOperand(&type16); in CreateModel_float16() 169 auto projection_bias = model->addOperand(&type16); in CreateModel_float16() 176 auto input_layer_norm_weights = model->addOperand(&type16); in CreateModel_float16() 342 OperandType type16(Type::TENSOR_FLOAT16, {0}); in CreateModel_dynamic_output_shape_float16() local 361 auto cell_to_input_weights = model->addOperand(&type16); in CreateModel_dynamic_output_shape_float16() 364 auto input_gate_bias = model->addOperand(&type16); in CreateModel_dynamic_output_shape_float16() 369 auto projection_bias = model->addOperand(&type16); in CreateModel_dynamic_output_shape_float16() 376 auto input_layer_norm_weights = model->addOperand(&type16); in CreateModel_dynamic_output_shape_float16()
|
D | bidirectional_sequence_rnn.model.cpp | 104 OperandType type16(Type::TENSOR_FLOAT16, {2, 16}); in CreateModel_float16() local 116 auto fw_hidden_state = model->addOperand(&type16); in CreateModel_float16() 120 auto bw_hidden_state = model->addOperand(&type16); in CreateModel_float16() 250 OperandType type16(Type::TENSOR_FLOAT16, {2, 16}); in CreateModel_dynamic_output_shape_float16() local 262 auto fw_hidden_state = model->addOperand(&type16); in CreateModel_dynamic_output_shape_float16() 266 auto bw_hidden_state = model->addOperand(&type16); in CreateModel_dynamic_output_shape_float16() 396 OperandType type16(Type::TENSOR_FLOAT16, {2, 16}); in CreateModel_float16_2() local 408 auto fw_hidden_state1 = model->addOperand(&type16); in CreateModel_float16_2() 412 auto bw_hidden_state1 = model->addOperand(&type16); in CreateModel_float16_2() 542 OperandType type16(Type::TENSOR_FLOAT16, {2, 16}); in CreateModel_dynamic_output_shape_float16_2() local [all …]
|
D | dequantize_v1_2.model.cpp | 791 OperandType type16(Type::TENSOR_INT32, {0}); in CreateModel_zero_sized() local 812 auto classesOut = model->addOperand(&type16); in CreateModel_zero_sized() 813 auto batchSplitOut = model->addOperand(&type16); in CreateModel_zero_sized() 876 OperandType type16(Type::TENSOR_INT32, {0}); in CreateModel_zero_sized_relaxed() local 897 auto classesOut = model->addOperand(&type16); in CreateModel_zero_sized_relaxed() 898 auto batchSplitOut = model->addOperand(&type16); in CreateModel_zero_sized_relaxed() 963 OperandType type16(Type::TENSOR_INT32, {0}); in CreateModel_zero_sized_float16() local 984 auto classesOut = model->addOperand(&type16); in CreateModel_zero_sized_float16() 985 auto batchSplitOut = model->addOperand(&type16); in CreateModel_zero_sized_float16() 1048 OperandType type16(Type::TENSOR_INT32, {0}); in CreateModel_zero_sized_dynamic_output_shape() local [all …]
|
D | select_v1_2.model.cpp | 280 OperandType type16(Type::TENSOR_FLOAT16, {2, 2}); in CreateModel_float16_2() local 284 auto input11 = model->addOperand(&type16); in CreateModel_float16_2() 285 auto input21 = model->addOperand(&type16); in CreateModel_float16_2() 286 auto output01 = model->addOperand(&type16); in CreateModel_float16_2() 396 OperandType type16(Type::TENSOR_FLOAT16, {2, 2}); in CreateModel_dynamic_output_shape_float16_2() local 401 auto input11 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_float16_2() 402 auto input21 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_float16_2()
|
D | depth_to_space_v1_2.model.cpp | 291 OperandType type16(Type::TENSOR_FLOAT16, {0, 0, 0, 0}); in CreateModel_dynamic_output_shape_nhwc_float16() local 298 auto op4 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_nhwc_float16() 406 OperandType type16(Type::TENSOR_FLOAT16, {0, 0, 0, 0}); in CreateModel_dynamic_output_shape_nchw_float16() local 412 auto op4 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_nchw_float16() 747 OperandType type16(Type::TENSOR_FLOAT16, {0, 0, 0, 0}); in CreateModel_dynamic_output_shape_nhwc_float16_2() local 754 auto op41 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_nhwc_float16_2() 861 OperandType type16(Type::TENSOR_FLOAT16, {0, 0, 0, 0}); in CreateModel_dynamic_output_shape_nchw_float16_2() local 868 auto op41 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_nchw_float16_2() 1203 OperandType type16(Type::TENSOR_FLOAT16, {0, 0, 0, 0}); in CreateModel_dynamic_output_shape_nhwc_float16_3() local 1210 auto op42 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_nhwc_float16_3() [all …]
|
D | space_to_depth_v1_2.model.cpp | 291 OperandType type16(Type::TENSOR_FLOAT16, {0, 0, 0, 0}); in CreateModel_dynamic_output_shape_nhwc_float16() local 298 auto op4 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_nhwc_float16() 405 OperandType type16(Type::TENSOR_FLOAT16, {0, 0, 0, 0}); in CreateModel_dynamic_output_shape_nchw_float16() local 412 auto op4 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_nchw_float16() 747 OperandType type16(Type::TENSOR_FLOAT16, {0, 0, 0, 0}); in CreateModel_dynamic_output_shape_nhwc_float16_2() local 754 auto op41 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_nhwc_float16_2() 861 OperandType type16(Type::TENSOR_FLOAT16, {0, 0, 0, 0}); in CreateModel_dynamic_output_shape_nchw_float16_2() local 868 auto op41 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_nchw_float16_2() 1203 OperandType type16(Type::TENSOR_FLOAT16, {0, 0, 0, 0}); in CreateModel_dynamic_output_shape_nhwc_float16_3() local 1210 auto op42 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_nhwc_float16_3() [all …]
|
D | axis_aligned_bbox_transform.model.cpp | 292 OperandType type16(Type::TENSOR_QUANT16_ASYMM, {7, 2}, 0.125f, 0); in CreateModel_quant8_2() local 299 auto imageInfo1 = model->addOperand(&type16); in CreateModel_quant8_2() 398 OperandType type16(Type::TENSOR_QUANT16_ASYMM, {7, 2}, 0.125f, 0); in CreateModel_dynamic_output_shape_quant8_2() local 405 auto imageInfo1 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_quant8_2()
|
D | heatmap_max_keypoint.model.cpp | 91 OperandType type16(Type::TENSOR_FLOAT32, {6, 1, 4, 4}); in CreateModel_nchw() local 96 auto heatmap = model->addOperand(&type16); in CreateModel_nchw() 119 OperandType type16(Type::TENSOR_FLOAT32, {6, 1, 4, 4}); in CreateModel_nchw_relaxed() local 124 auto heatmap = model->addOperand(&type16); in CreateModel_nchw_relaxed() 263 OperandType type16(Type::TENSOR_FLOAT32, {6, 1, 4, 4}); in CreateModel_dynamic_output_shape_nchw() local 268 auto heatmap = model->addOperand(&type16); in CreateModel_dynamic_output_shape_nchw() 291 OperandType type16(Type::TENSOR_FLOAT32, {6, 1, 4, 4}); in CreateModel_dynamic_output_shape_nchw_relaxed() local 296 auto heatmap = model->addOperand(&type16); in CreateModel_dynamic_output_shape_nchw_relaxed()
|
D | equal.model.cpp | 199 OperandType type16(Type::TENSOR_INT32, {2}); in CreateModel_int32_2() local 203 auto input11 = model->addOperand(&type16); in CreateModel_int32_2() 289 OperandType type16(Type::TENSOR_INT32, {2}); in CreateModel_dynamic_output_shape_int32_2() local 293 auto input11 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_int32_2()
|
D | greater_equal.model.cpp | 199 OperandType type16(Type::TENSOR_INT32, {2}); in CreateModel_int32_2() local 203 auto input11 = model->addOperand(&type16); in CreateModel_int32_2() 289 OperandType type16(Type::TENSOR_INT32, {2}); in CreateModel_dynamic_output_shape_int32_2() local 293 auto input11 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_int32_2()
|
D | less.model.cpp | 199 OperandType type16(Type::TENSOR_INT32, {2}); in CreateModel_int32_2() local 203 auto input11 = model->addOperand(&type16); in CreateModel_int32_2() 289 OperandType type16(Type::TENSOR_INT32, {2}); in CreateModel_dynamic_output_shape_int32_2() local 293 auto input11 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_int32_2()
|
D | less_equal.model.cpp | 199 OperandType type16(Type::TENSOR_INT32, {2}); in CreateModel_int32_2() local 203 auto input11 = model->addOperand(&type16); in CreateModel_int32_2() 289 OperandType type16(Type::TENSOR_INT32, {2}); in CreateModel_dynamic_output_shape_int32_2() local 293 auto input11 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_int32_2()
|
D | greater.model.cpp | 199 OperandType type16(Type::TENSOR_INT32, {2}); in CreateModel_int32_2() local 203 auto input11 = model->addOperand(&type16); in CreateModel_int32_2() 289 OperandType type16(Type::TENSOR_INT32, {2}); in CreateModel_dynamic_output_shape_int32_2() local 293 auto input11 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_int32_2()
|
D | not_equal.model.cpp | 199 OperandType type16(Type::TENSOR_INT32, {2}); in CreateModel_int32_2() local 203 auto input11 = model->addOperand(&type16); in CreateModel_int32_2() 289 OperandType type16(Type::TENSOR_INT32, {2}); in CreateModel_dynamic_output_shape_int32_2() local 293 auto input11 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_int32_2()
|
D | box_with_nms_limit_gaussian.model.cpp | 153 OperandType type16(Type::TENSOR_QUANT16_ASYMM, {19, 12}, 0.125f, 0); in CreateModel_quant8() local 163 auto roi = model->addOperand(&type16); in CreateModel_quant8() 351 OperandType type16(Type::TENSOR_QUANT16_ASYMM, {19, 12}, 0.125f, 0); in CreateModel_dynamic_output_shape_quant8() local 361 auto roi = model->addOperand(&type16); in CreateModel_dynamic_output_shape_quant8() 550 OperandType type16(Type::TENSOR_QUANT16_ASYMM, {19, 12}, 0.125f, 0); in CreateModel_quant8_2() local 559 auto roi1 = model->addOperand(&type16); in CreateModel_quant8_2() 747 OperandType type16(Type::TENSOR_QUANT16_ASYMM, {19, 12}, 0.125f, 0); in CreateModel_dynamic_output_shape_quant8_2() local 757 auto roi1 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_quant8_2()
|
D | box_with_nms_limit_hard.model.cpp | 153 OperandType type16(Type::TENSOR_QUANT16_ASYMM, {19, 12}, 0.125f, 0); in CreateModel_quant8() local 163 auto roi = model->addOperand(&type16); in CreateModel_quant8() 351 OperandType type16(Type::TENSOR_QUANT16_ASYMM, {19, 12}, 0.125f, 0); in CreateModel_dynamic_output_shape_quant8() local 361 auto roi = model->addOperand(&type16); in CreateModel_dynamic_output_shape_quant8() 550 OperandType type16(Type::TENSOR_QUANT16_ASYMM, {19, 12}, 0.125f, 0); in CreateModel_quant8_2() local 559 auto roi1 = model->addOperand(&type16); in CreateModel_quant8_2() 747 OperandType type16(Type::TENSOR_QUANT16_ASYMM, {19, 12}, 0.125f, 0); in CreateModel_dynamic_output_shape_quant8_2() local 757 auto roi1 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_quant8_2()
|
D | box_with_nms_limit_linear.model.cpp | 153 OperandType type16(Type::TENSOR_QUANT16_ASYMM, {19, 12}, 0.125f, 0); in CreateModel_quant8() local 163 auto roi = model->addOperand(&type16); in CreateModel_quant8() 351 OperandType type16(Type::TENSOR_QUANT16_ASYMM, {19, 12}, 0.125f, 0); in CreateModel_dynamic_output_shape_quant8() local 361 auto roi = model->addOperand(&type16); in CreateModel_dynamic_output_shape_quant8() 550 OperandType type16(Type::TENSOR_QUANT16_ASYMM, {19, 12}, 0.125f, 0); in CreateModel_quant8_2() local 559 auto roi1 = model->addOperand(&type16); in CreateModel_quant8_2() 747 OperandType type16(Type::TENSOR_QUANT16_ASYMM, {19, 12}, 0.125f, 0); in CreateModel_dynamic_output_shape_quant8_2() local 757 auto roi1 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_quant8_2()
|
D | unidirectional_sequence_rnn.model.cpp | 187 OperandType type16(Type::TENSOR_FLOAT16, {0, 0, 0}); in CreateModel_dynamic_output_shape_float16() local 198 auto output = model->addOperand(&type16); in CreateModel_dynamic_output_shape_float16() 400 OperandType type16(Type::TENSOR_FLOAT16, {0, 0, 0}); in CreateModel_dynamic_output_shape_float16_2() local 412 auto output1 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_float16_2()
|
D | transpose_conv2d_large.model.cpp | 155 OperandType type16(Type::TENSOR_QUANT8_ASYMM, {0, 0, 0, 0}, 0.5f, 80); in CreateModel_dynamic_output_shape_channelQuant8() local 168 auto op4 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_channelQuant8()
|
D | prelu.model.cpp | 471 OperandType type16(Type::TENSOR_FLOAT16, {0, 0, 0, 0}); in CreateModel_dynamic_output_shape_float16() local 476 auto output = model->addOperand(&type16); in CreateModel_dynamic_output_shape_float16() 629 OperandType type16(Type::TENSOR_FLOAT16, {0, 0, 0, 0}); in CreateModel_dynamic_output_shape_weight_as_input_float16() local 634 auto output = model->addOperand(&type16); in CreateModel_dynamic_output_shape_weight_as_input_float16()
|
D | reduce_min.model.cpp | 205 OperandType type16(Type::TENSOR_QUANT8_ASYMM, {0}, 0.5f, 127); in CreateModel_dynamic_output_shape_quant8() local 212 auto output0 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_quant8() 428 OperandType type16(Type::TENSOR_QUANT8_ASYMM, {0}, 0.5f, 127); in CreateModel_dynamic_output_shape_quant8_2() local 436 auto output01 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_quant8_2() 656 OperandType type16(Type::TENSOR_QUANT8_ASYMM, {0}, 0.5f, 127); in CreateModel_dynamic_output_shape_quant8_3() local 664 auto output02 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_quant8_3()
|
D | reduce_max.model.cpp | 205 OperandType type16(Type::TENSOR_QUANT8_ASYMM, {0}, 0.5f, 127); in CreateModel_dynamic_output_shape_quant8() local 212 auto output0 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_quant8() 428 OperandType type16(Type::TENSOR_QUANT8_ASYMM, {0}, 0.5f, 127); in CreateModel_dynamic_output_shape_quant8_2() local 436 auto output01 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_quant8_2() 656 OperandType type16(Type::TENSOR_QUANT8_ASYMM, {0}, 0.5f, 127); in CreateModel_dynamic_output_shape_quant8_3() local 664 auto output02 = model->addOperand(&type16); in CreateModel_dynamic_output_shape_quant8_3()
|
D | conv2d_per_channel.model.cpp | 618 …OperandType type16(Type::TENSOR_QUANT8_SYMM_PER_CHANNEL, {3, 1, 1, 2}, 0.0f, 0, SymmPerChannelQuan… in CreateModel_zero_sized_nhwc() local 649 auto weights = model->addOperand(&type16); in CreateModel_zero_sized_nhwc() 731 …OperandType type16(Type::TENSOR_QUANT8_SYMM_PER_CHANNEL, {3, 1, 1, 2}, 0.0f, 0, SymmPerChannelQuan… in CreateModel_zero_sized_nchw() local 763 auto weights = model->addOperand(&type16); in CreateModel_zero_sized_nchw() 846 …OperandType type16(Type::TENSOR_QUANT8_SYMM_PER_CHANNEL, {3, 1, 1, 2}, 0.0f, 0, SymmPerChannelQuan… in CreateModel_zero_sized_dynamic_output_shape_nhwc() local 877 auto weights = model->addOperand(&type16); in CreateModel_zero_sized_dynamic_output_shape_nhwc() 959 …OperandType type16(Type::TENSOR_QUANT8_SYMM_PER_CHANNEL, {3, 1, 1, 2}, 0.0f, 0, SymmPerChannelQuan… in CreateModel_zero_sized_dynamic_output_shape_nchw() local 991 auto weights = model->addOperand(&type16); in CreateModel_zero_sized_dynamic_output_shape_nchw()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | ResourceUtils.cpp | 45 out += Utf16ToUtf8(StringPiece16(name.type16, name.type_len)); in ResToTypeEntryName()
|