| /frameworks/ml/nn/runtime/test/specs/V1_2/ |
| D | div_v1_2.mod.py | 18 model = Model() variable 23 model = model.Operation("DIV", i1, i2, act).To(i3) variable 24 model = model.RelaxedExecution(False) variable 40 model = Model() variable 45 model = model.Operation("DIV", i1, i2, act).To(i3) variable 69 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3… variable 75 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) variable 80 model = model.Operation("DIV", zero_sized, i2, 0).To(o3) variable
|
| D | mul_v1_2.mod.py | 18 model = Model() variable 23 model = model.Operation("MUL", i1, i2, act).To(i3) variable 24 model = model.RelaxedExecution(False) variable 40 model = Model() variable 45 model = model.Operation("MUL", i1, i2, act).To(i3) variable 69 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3… variable 75 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) variable 80 model = model.Operation("MUL", zero_sized, i2, 0).To(o3) variable
|
| D | add_v1_2.mod.py | 18 model = Model() variable 23 model = model.Operation("ADD", i1, i2, act).To(i3) variable 24 model = model.RelaxedExecution(False) variable 40 model = Model() variable 45 model = model.Operation("ADD", i1, i2, act).To(i3) variable 69 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3)… variable 75 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) variable 80 model = model.Operation("ADD", zero_sized, i2, 0).To(o3) variable
|
| D | bbox_graph.mod.py | 27 model = Model("zero_sized").Operation("GENERATE_PROPOSALS", scores, deltas, anchors, image, 1.0, 1.… variable 32 model = model.Operation("ROI_ALIGN", feature, roiOut_1, batchOut_1, 2, 2, 1.0, 1.0, 4, 4, layout).T… variable 38 model = model.Operation("FULLY_CONNECTED", featureOut_2, weights_3, bias_3, 0).To(deltaOut_3) variable 44 model = model.Operation("FULLY_CONNECTED", featureOut_2, weights_4, bias_4, 0).To(scoresOut_4) variable 48 model = model.Operation("AXIS_ALIGNED_BBOX_TRANSFORM", roiOut_1, deltaOut_3, batchOut_1, image).To(… variable 55 model = model.Operation("BOX_WITH_NMS_LIMIT", scoresOut_4, roiOut_5, batchOut_1, 0.1, -1, 0, 0.3, 1… variable
|
| D | transpose_v1_2.mod.py | 18 model = Model() variable 23 model = model.Operation("TRANSPOSE", i1, perms).To(output) variable 53 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3… variable 59 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) variable 63 model = model.Operation("TRANSPOSE", zero_sized, [0, 3, 1, 2]).To(o3) variable
|
| D | concat_zero_sized.mod.py | 26 model = Model().Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1… variable 32 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) variable 36 model = model.Operation("CONCATENATION", zero_sized, zero_sized, 3).To(o3) variable 66 model = Model().Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1… variable 72 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) variable 77 model = model.Operation("CONCATENATION", zero_sized, i2, 0).To(o3) variable
|
| D | l2_pool_v1_2.mod.py | 64 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3… variable 69 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) variable 73 model = model.Operation("L2_POOL_2D", zero_sized, 0, 0, 0, 0, 1, 1, 2, 2, 0, layout).To(o3) variable 93 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3… variable 98 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) variable 102 model = model.Operation("L2_POOL_2D", zero_sized, 1, 1, 1, 2, 2, 0, layout).To(o3) variable
|
| D | fully_connected_v1_2.mod.py | 18 model = Model() variable 24 model = model.Operation("FULLY_CONNECTED", in0, weights, bias, act).To(out0) variable 54 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3… variable 60 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) variable 66 model = model.Operation("FULLY_CONNECTED", zero_sized, w, b, 0).To(o3) variable
|
| D | dequantize_v1_2.mod.py | 98 model = Model() variable 101 model = model.Operation("DEQUANTIZE", i1).To(i2) variable 123 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3)… variable 129 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) variable 133 model = model.Operation("DEQUANTIZE", zero_sized).To(o3) variable
|
| D | slice.mod.py | 99 model = Model().Operation("SLICE", test_case.inp, test_case.begin, variable 119 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3… variable 125 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) variable 129 model = model.Operation("SLICE", zero_sized, [0, 1, 1, 0], [-1, 1, -1, 1]).To(o3) variable
|
| /frameworks/ml/nn/runtime/test/generated/ |
| D | all_generated_V1_2_vts_tests.cpp | 20 const Model model = abs::createTestModel(); in TEST_F() local 34 const Model model = abs::createTestModel_relaxed(); in TEST_F() local 48 const Model model = abs::createTestModel_float16(); in TEST_F() local 63 const Model model = abs::createTestModel_dynamic_output_shape(); in TEST_F() local 79 const Model model = abs::createTestModel_dynamic_output_shape_relaxed(); in TEST_F() local 95 const Model model = abs::createTestModel_dynamic_output_shape_float16(); in TEST_F() local 118 const Model model = add_v1_2::createTestModel(); in TEST_F() local 133 const Model model = add_v1_2::createTestModel_dynamic_output_shape(); in TEST_F() local 148 const Model model = add_v1_2::createTestModel_2(); in TEST_F() local 163 const Model model = add_v1_2::createTestModel_dynamic_output_shape_2(); in TEST_F() local [all …]
|
| D | all_generated_V1_1_vts_tests.cpp | 20 const Model model = add_relaxed::createTestModel(); in TEST_F() local 35 const Model model = add_relaxed::createTestModel_dynamic_output_shape(); in TEST_F() local 58 const Model model = avg_pool_float_1_relaxed::createTestModel(); in TEST_F() local 73 const Model model = avg_pool_float_1_relaxed::createTestModel_dynamic_output_shape(); in TEST_F() local 96 const Model model = avg_pool_float_2_relaxed::createTestModel(); in TEST_F() local 111 const Model model = avg_pool_float_2_relaxed::createTestModel_dynamic_output_shape(); in TEST_F() local 134 const Model model = avg_pool_float_3_relaxed::createTestModel(); in TEST_F() local 149 const Model model = avg_pool_float_3_relaxed::createTestModel_dynamic_output_shape(); in TEST_F() local 172 const Model model = avg_pool_float_4_relaxed::createTestModel(); in TEST_F() local 187 const Model model = avg_pool_float_4_relaxed::createTestModel_dynamic_output_shape(); in TEST_F() local [all …]
|
| D | all_generated_V1_0_vts_tests.cpp | 20 const Model model = add::createTestModel(); in TEST_F() local 35 const Model model = add::createTestModel_dynamic_output_shape(); in TEST_F() local 58 const Model model = add_broadcast_quant8::createTestModel(); in TEST_F() local 73 const Model model = add_broadcast_quant8::createTestModel_dynamic_output_shape(); in TEST_F() local 96 const Model model = add_quant8::createTestModel(); in TEST_F() local 111 const Model model = add_quant8::createTestModel_dynamic_output_shape(); in TEST_F() local 134 const Model model = avg_pool_float_1::createTestModel(); in TEST_F() local 149 const Model model = avg_pool_float_1::createTestModel_dynamic_output_shape(); in TEST_F() local 172 const Model model = avg_pool_float_2::createTestModel(); in TEST_F() local 187 const Model model = avg_pool_float_2::createTestModel_dynamic_output_shape(); in TEST_F() local [all …]
|
| /frameworks/ml/nn/runtime/test/specs/V1_1/ |
| D | mobilenet_224_gender_basic_fixed_relaxed.mod.py | 19 model = Model() variable 238 model = model.Operation("CONV_2D", i86, i2, i1, i87, i88, i89, i90).To(i0) variable 239 model = model.Operation("DEPTHWISE_CONV_2D", i0, i29, i28, i91, i92, i93, i94, i95).To(i27) variable 240 model = model.Operation("CONV_2D", i27, i32, i31, i96, i97, i98, i99).To(i30) variable 241 model = model.Operation("DEPTHWISE_CONV_2D", i30, i35, i34, i100, i101, i102, i103, i104).To(i33) variable 242 model = model.Operation("CONV_2D", i33, i38, i37, i105, i106, i107, i108).To(i36) variable 243 model = model.Operation("DEPTHWISE_CONV_2D", i36, i41, i40, i109, i110, i111, i112, i113).To(i39) variable 244 model = model.Operation("CONV_2D", i39, i44, i43, i114, i115, i116, i117).To(i42) variable 245 model = model.Operation("DEPTHWISE_CONV_2D", i42, i47, i46, i118, i119, i120, i121, i122).To(i45) variable 246 model = model.Operation("CONV_2D", i45, i50, i49, i123, i124, i125, i126).To(i48) variable [all …]
|
| D | tanh_relaxed.mod.py | 18 model = Model() variable 22 model = model.Operation("TANH", i1).To(i2) variable 23 model = model.RelaxedExecution(True) variable
|
| D | l2_normalization_large_relaxed.mod.py | 17 model = Model() variable 22 model = model.Operation("L2_NORMALIZATION", i1).To(i2) variable 23 model = model.RelaxedExecution(True) variable
|
| D | l2_normalization_relaxed.mod.py | 17 model = Model() variable 22 model = model.Operation("L2_NORMALIZATION", i1).To(i2) variable 23 model = model.RelaxedExecution(True) variable
|
| D | logistic_float_1_relaxed.mod.py | 18 model = Model() variable 22 model = model.Operation("LOGISTIC", i1).To(i3) variable 23 model = model.RelaxedExecution(True) variable
|
| D | dequantize_relaxed.mod.py | 18 model = Model() variable 21 model = model.Operation("DEQUANTIZE", i1).To(i2) variable 22 model = model.RelaxedExecution(True) variable
|
| D | relu1_float_1_relaxed.mod.py | 18 model = Model() variable 21 model = model.Operation("RELU1", i1).To(i2) variable 22 model = model.RelaxedExecution(True) variable
|
| D | floor_relaxed.mod.py | 18 model = Model() variable 21 model = model.Operation("FLOOR", i1).To(i2) variable 22 model = model.RelaxedExecution(True) variable
|
| /frameworks/ml/nn/runtime/test/generated/models/ |
| D | l2_normalization_v1_2.model.cpp | 3 void CreateModel_dim4_axis3(Model *model) { in CreateModel_dim4_axis3() 22 void CreateModel_dim4_axis3_relaxed(Model *model) { in CreateModel_dim4_axis3_relaxed() 43 void CreateModel_dim4_axis3_float16(Model *model) { in CreateModel_dim4_axis3_float16() 62 void CreateModel_dim4_axis3_quant8(Model *model) { in CreateModel_dim4_axis3_quant8() 82 void CreateModel_dim3_axis2(Model *model) { in CreateModel_dim3_axis2() 101 void CreateModel_dim3_axis2_relaxed(Model *model) { in CreateModel_dim3_axis2_relaxed() 122 void CreateModel_dim3_axis2_float16(Model *model) { in CreateModel_dim3_axis2_float16() 141 void CreateModel_dim3_axis2_quant8(Model *model) { in CreateModel_dim3_axis2_quant8() 161 void CreateModel_dim2_axis1(Model *model) { in CreateModel_dim2_axis1() 180 void CreateModel_dim2_axis1_relaxed(Model *model) { in CreateModel_dim2_axis1_relaxed() [all …]
|
| D | cast.model.cpp | 3 void CreateModel(Model *model) { in CreateModel() 22 void CreateModel_dynamic_output_shape(Model *model) { in CreateModel_dynamic_output_shape() 42 void CreateModel_2(Model *model) { in CreateModel_2() 62 void CreateModel_relaxed(Model *model) { in CreateModel_relaxed() 84 void CreateModel_dynamic_output_shape_2(Model *model) { in CreateModel_dynamic_output_shape_2() 104 void CreateModel_dynamic_output_shape_relaxed(Model *model) { in CreateModel_dynamic_output_shape_relaxed() 126 void CreateModel_3(Model *model) { in CreateModel_3() 146 void CreateModel_dynamic_output_shape_3(Model *model) { in CreateModel_dynamic_output_shape_3() 166 void CreateModel_4(Model *model) { in CreateModel_4() 186 void CreateModel_dynamic_output_shape_4(Model *model) { in CreateModel_dynamic_output_shape_4() [all …]
|
| /frameworks/ml/nn/runtime/test/specs/V1_0/ |
| D | mobilenet_224_gender_basic_fixed.mod.py | 3 model = Model() variable 222 model = model.Operation("CONV_2D", i86, i2, i1, i87, i88, i89, i90).To(i0) variable 223 model = model.Operation("DEPTHWISE_CONV_2D", i0, i29, i28, i91, i92, i93, i94, i95).To(i27) variable 224 model = model.Operation("CONV_2D", i27, i32, i31, i96, i97, i98, i99).To(i30) variable 225 model = model.Operation("DEPTHWISE_CONV_2D", i30, i35, i34, i100, i101, i102, i103, i104).To(i33) variable 226 model = model.Operation("CONV_2D", i33, i38, i37, i105, i106, i107, i108).To(i36) variable 227 model = model.Operation("DEPTHWISE_CONV_2D", i36, i41, i40, i109, i110, i111, i112, i113).To(i39) variable 228 model = model.Operation("CONV_2D", i39, i44, i43, i114, i115, i116, i117).To(i42) variable 229 model = model.Operation("DEPTHWISE_CONV_2D", i42, i47, i46, i118, i119, i120, i121, i122).To(i45) variable 230 model = model.Operation("CONV_2D", i45, i50, i49, i123, i124, i125, i126).To(i48) variable [all …]
|
| /frameworks/ml/nn/tools/test_generator/ |
| D | vts_generator.py | 82 def generate_vts_operands(model): argument 169 def generate_vts_operation(op, model): argument 183 def generate_vts_operations(model): argument 187 def generate_vts_model(model, model_file): argument 265 def generate_vts(model, model_file): argument
|