/frameworks/ml/nn/runtime/test/generated/models/ |
D | pad_all_dims.model.cpp | 9 auto paddings = model->addOperand(&type1); in CreateModel() local 13 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 8); in CreateModel() 14 model->addOperation(ANEURALNETWORKS_PAD, {input0, paddings}, {output0}); in CreateModel() 33 auto paddings = model->addOperand(&type1); in CreateModel_float16() local 37 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 8); in CreateModel_float16() 38 model->addOperation(ANEURALNETWORKS_PAD, {input0, paddings}, {output0}); in CreateModel_float16() 57 auto paddings = model->addOperand(&type1); in CreateModel_relaxed() local 61 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 8); in CreateModel_relaxed() 62 model->addOperation(ANEURALNETWORKS_PAD, {input0, paddings}, {output0}); in CreateModel_relaxed() 83 auto paddings = model->addOperand(&type1); in CreateModel_quant8() local [all …]
|
D | pad_v2_1_float.model.cpp | 10 auto paddings = model->addOperand(&type1); in CreateModel() local 15 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 8); in CreateModel() 18 model->addOperation(ANEURALNETWORKS_PAD_V2, {input0, paddings, pad_value}, {output0}); in CreateModel() 38 auto paddings = model->addOperand(&type1); in CreateModel_float16() local 43 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 8); in CreateModel_float16() 46 model->addOperation(ANEURALNETWORKS_PAD_V2, {input0, paddings, pad_value}, {output0}); in CreateModel_float16() 66 auto paddings = model->addOperand(&type1); in CreateModel_relaxed() local 71 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 8); in CreateModel_relaxed() 74 model->addOperation(ANEURALNETWORKS_PAD_V2, {input0, paddings, pad_value}, {output0}); in CreateModel_relaxed() 96 auto paddings = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local [all …]
|
D | pad_v2_all_dims.model.cpp | 10 auto paddings = model->addOperand(&type1); in CreateModel() local 15 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 8); in CreateModel() 18 model->addOperation(ANEURALNETWORKS_PAD_V2, {input0, paddings, pad_value}, {output0}); in CreateModel() 38 auto paddings = model->addOperand(&type1); in CreateModel_float16() local 43 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 8); in CreateModel_float16() 46 model->addOperation(ANEURALNETWORKS_PAD_V2, {input0, paddings, pad_value}, {output0}); in CreateModel_float16() 66 auto paddings = model->addOperand(&type1); in CreateModel_relaxed() local 71 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 8); in CreateModel_relaxed() 74 model->addOperation(ANEURALNETWORKS_PAD_V2, {input0, paddings, pad_value}, {output0}); in CreateModel_relaxed() 96 auto paddings = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local [all …]
|
D | pad_low_rank.model.cpp | 9 auto paddings = model->addOperand(&type1); in CreateModel() local 13 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 2); in CreateModel() 14 model->addOperation(ANEURALNETWORKS_PAD, {input0, paddings}, {output0}); in CreateModel() 33 auto paddings = model->addOperand(&type1); in CreateModel_float16() local 37 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 2); in CreateModel_float16() 38 model->addOperation(ANEURALNETWORKS_PAD, {input0, paddings}, {output0}); in CreateModel_float16() 57 auto paddings = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local 61 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 2); in CreateModel_dynamic_output_shape() 62 model->addOperation(ANEURALNETWORKS_PAD, {input0, paddings}, {output0}); in CreateModel_dynamic_output_shape() 81 auto paddings = model->addOperand(&type1); in CreateModel_dynamic_output_shape_float16() local [all …]
|
D | pad_v2_low_rank.model.cpp | 10 auto paddings = model->addOperand(&type1); in CreateModel() local 15 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 2); in CreateModel() 18 model->addOperation(ANEURALNETWORKS_PAD_V2, {input0, paddings, pad_value}, {output0}); in CreateModel() 38 auto paddings = model->addOperand(&type1); in CreateModel_float16() local 43 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 2); in CreateModel_float16() 46 model->addOperation(ANEURALNETWORKS_PAD_V2, {input0, paddings, pad_value}, {output0}); in CreateModel_float16() 66 auto paddings = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local 71 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 2); in CreateModel_dynamic_output_shape() 74 model->addOperation(ANEURALNETWORKS_PAD_V2, {input0, paddings, pad_value}, {output0}); in CreateModel_dynamic_output_shape() 94 auto paddings = model->addOperand(&type1); in CreateModel_dynamic_output_shape_float16() local [all …]
|
D | pad_quant8_nonzero.model.cpp | 9 auto paddings = model->addOperand(&type1); in CreateModel() local 13 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 8); in CreateModel() 14 model->addOperation(ANEURALNETWORKS_PAD, {input0, paddings}, {output0}); in CreateModel() 33 auto paddings = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local 37 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 8); in CreateModel_dynamic_output_shape() 38 model->addOperation(ANEURALNETWORKS_PAD, {input0, paddings}, {output0}); in CreateModel_dynamic_output_shape()
|
D | pad_quant8.model.cpp | 9 auto paddings = model->addOperand(&type1); in CreateModel() local 13 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 8); in CreateModel() 14 model->addOperation(ANEURALNETWORKS_PAD, {input0, paddings}, {output0}); in CreateModel() 33 auto paddings = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local 37 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 8); in CreateModel_dynamic_output_shape() 38 model->addOperation(ANEURALNETWORKS_PAD, {input0, paddings}, {output0}); in CreateModel_dynamic_output_shape()
|
D | pad_low_rank_quant8.model.cpp | 9 auto paddings = model->addOperand(&type1); in CreateModel() local 13 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 2); in CreateModel() 14 model->addOperation(ANEURALNETWORKS_PAD, {input0, paddings}, {output0}); in CreateModel() 33 auto paddings = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local 37 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 2); in CreateModel_dynamic_output_shape() 38 model->addOperation(ANEURALNETWORKS_PAD, {input0, paddings}, {output0}); in CreateModel_dynamic_output_shape()
|
D | pad_v2_low_rank_quant8.model.cpp | 10 auto paddings = model->addOperand(&type1); in CreateModel() local 15 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 2); in CreateModel() 18 model->addOperation(ANEURALNETWORKS_PAD_V2, {input0, paddings, pad_value}, {output0}); in CreateModel() 38 auto paddings = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local 43 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 2); in CreateModel_dynamic_output_shape() 46 model->addOperation(ANEURALNETWORKS_PAD_V2, {input0, paddings, pad_value}, {output0}); in CreateModel_dynamic_output_shape()
|
D | space_to_batch_quant8_3.model.cpp | 11 auto paddings = model->addOperand(&type2); in CreateModel() local 17 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel() 18 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel() 39 auto paddings = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 45 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel_dynamic_output_shape() 46 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel_dynamic_output_shape()
|
D | space_to_batch_float_2.model.cpp | 11 auto paddings = model->addOperand(&type2); in CreateModel() local 17 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel() 18 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel() 39 auto paddings = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 45 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel_dynamic_output_shape() 46 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel_dynamic_output_shape()
|
D | space_to_batch_relaxed.model.cpp | 11 auto paddings = model->addOperand(&type2); in CreateModel() local 17 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel() 18 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel() 41 auto paddings = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 47 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel_dynamic_output_shape() 48 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel_dynamic_output_shape()
|
D | space_to_batch_float_3_relaxed.model.cpp | 11 auto paddings = model->addOperand(&type2); in CreateModel() local 17 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel() 18 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel() 41 auto paddings = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 47 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel_dynamic_output_shape() 48 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel_dynamic_output_shape()
|
D | pad_v2_all_dims_quant8.model.cpp | 10 auto paddings = model->addOperand(&type1); in CreateModel() local 15 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 8); in CreateModel() 18 model->addOperation(ANEURALNETWORKS_PAD_V2, {input0, paddings, pad_value}, {output0}); in CreateModel() 38 auto paddings = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local 43 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 8); in CreateModel_dynamic_output_shape() 46 model->addOperation(ANEURALNETWORKS_PAD_V2, {input0, paddings, pad_value}, {output0}); in CreateModel_dynamic_output_shape()
|
D | space_to_batch_float_1.model.cpp | 11 auto paddings = model->addOperand(&type2); in CreateModel() local 17 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel() 18 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel() 39 auto paddings = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 45 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel_dynamic_output_shape() 46 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel_dynamic_output_shape()
|
D | space_to_batch_quant8_1.model.cpp | 11 auto paddings = model->addOperand(&type2); in CreateModel() local 17 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel() 18 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel() 39 auto paddings = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 45 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel_dynamic_output_shape() 46 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel_dynamic_output_shape()
|
D | space_to_batch_quant8_nonzero.model.cpp | 11 auto paddings = model->addOperand(&type2); in CreateModel() local 17 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel() 18 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel() 39 auto paddings = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 45 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel_dynamic_output_shape() 46 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel_dynamic_output_shape()
|
D | space_to_batch_float_2_relaxed.model.cpp | 11 auto paddings = model->addOperand(&type2); in CreateModel() local 17 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel() 18 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel() 41 auto paddings = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 47 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel_dynamic_output_shape() 48 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel_dynamic_output_shape()
|
D | pad_v2_1_quant8.model.cpp | 10 auto paddings = model->addOperand(&type1); in CreateModel() local 15 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 8); in CreateModel() 18 model->addOperation(ANEURALNETWORKS_PAD_V2, {input0, paddings, pad_value}, {output0}); in CreateModel() 38 auto paddings = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local 43 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 8); in CreateModel_dynamic_output_shape() 46 model->addOperation(ANEURALNETWORKS_PAD_V2, {input0, paddings, pad_value}, {output0}); in CreateModel_dynamic_output_shape()
|
D | space_to_batch_float_3.model.cpp | 11 auto paddings = model->addOperand(&type2); in CreateModel() local 17 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel() 18 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel() 39 auto paddings = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 45 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel_dynamic_output_shape() 46 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel_dynamic_output_shape()
|
D | space_to_batch_float_1_relaxed.model.cpp | 11 auto paddings = model->addOperand(&type2); in CreateModel() local 17 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel() 18 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel() 41 auto paddings = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 47 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel_dynamic_output_shape() 48 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel_dynamic_output_shape()
|
D | space_to_batch_quant8_2.model.cpp | 11 auto paddings = model->addOperand(&type2); in CreateModel() local 17 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel() 18 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel() 39 auto paddings = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 45 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel_dynamic_output_shape() 46 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel_dynamic_output_shape()
|
D | space_to_batch.model.cpp | 11 auto paddings = model->addOperand(&type2); in CreateModel() local 17 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel() 18 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel() 39 auto paddings = model->addOperand(&type2); in CreateModel_dynamic_output_shape() local 45 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel_dynamic_output_shape() 46 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {input, block_size, paddings}, {output}); in CreateModel_dynamic_output_shape()
|
D | space_to_batch_v1_2.model.cpp | 12 auto paddings = model->addOperand(&type2); in CreateModel_nhwc() local 19 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel_nhwc() 22 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {op1, param, paddings, layout}, {op4}); in CreateModel_nhwc() 44 auto paddings = model->addOperand(&type2); in CreateModel_nhwc_relaxed() local 51 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel_nhwc_relaxed() 54 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {op1, param, paddings, layout}, {op4}); in CreateModel_nhwc_relaxed() 78 auto paddings = model->addOperand(&type2); in CreateModel_nhwc_float16() local 85 model->setOperandValue(paddings, paddings_init, sizeof(int32_t) * 4); in CreateModel_nhwc_float16() 88 model->addOperation(ANEURALNETWORKS_SPACE_TO_BATCH_ND, {op1, param, paddings, layout}, {op4}); in CreateModel_nhwc_float16() 110 auto paddings = model->addOperand(&type2); in CreateModel_nhwc_quant8() local [all …]
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | KeyProperties.java | 446 public static int[] allToKeymaster(@Nullable @EncryptionPaddingEnum String[] paddings) { in allToKeymaster() argument 447 if ((paddings == null) || (paddings.length == 0)) { in allToKeymaster() 450 int[] result = new int[paddings.length]; in allToKeymaster() 451 for (int i = 0; i < paddings.length; i++) { in allToKeymaster() 452 result[i] = toKeymaster(paddings[i]); in allToKeymaster() 506 static int[] allToKeymaster(@Nullable @SignaturePaddingEnum String[] paddings) { in allToKeymaster() argument 507 if ((paddings == null) || (paddings.length == 0)) { in allToKeymaster() 510 int[] result = new int[paddings.length]; in allToKeymaster() 511 for (int i = 0; i < paddings.length; i++) { in allToKeymaster() 512 result[i] = toKeymaster(paddings[i]); in allToKeymaster()
|