/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | resize_nearest_neighbor.mod.py | 36 Example(test1, model=model_shape).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16… 37 Example(test1, model=model_scale).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16… 57 Example(test2, model=model_shape).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16… 58 Example(test2, model=model_scale).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16… 78 Example(test3, model=model_shape).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16… 79 Example(test3, model=model_scale).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16… 99 Example(test4, model=model_shape).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16… 100 Example(test4, model=model_scale).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16… 120 Example(test5, model=model_shape).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16… 121 Example(test5, model=model_scale).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16… [all …]
|
D | resize_bilinear_v1_2.mod.py | 39 Example(test1, model=model_shape).AddNchw(i1, o1, layout).AddVariations("relaxed", "float16", quant… 40 Example(test1, model=model_scale).AddNchw(i1, o1, layout).AddVariations("relaxed", "float16", quant… 63 Example(test2, model=model_shape).AddNchw(i2, o2, layout).AddVariations("relaxed", "float16", quant… 64 Example(test2, model=model_scale).AddNchw(i2, o2, layout).AddVariations("relaxed", "float16", quant… 87 Example(test3, model=model_shape).AddVariations("float16", quant8, includeDefault=False) 88 Example(test3, model=model_scale).AddVariations("float16", quant8, includeDefault=False) 126 }).AddNchw(i1, zero_sized, o3, layout).AddVariations("relaxed", quant8, "float16") 164 }).AddNchw(i1, zero_sized, o3, layout).AddVariations("relaxed", quant8, "float16")
|
D | conv2d_v1_2.mod.py | 44 }).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, channelQuant8, "float16") 72 }).AddNchw(i2, o2, layout).AddVariations("relaxed", quant8, channelQuant8, "float16") 100 }).AddNchw(i3, o3, layout).AddVariations("relaxed", quant8, channelQuant8, "float16") 140 }).AddNchw(i4, o4, layout).AddVariations("relaxed", quant8, channelQuant8, channelQuant8_mult_gt_1,… 158 }, model=model_1_same).AddNchw(i5, o5, layout).AddVariations("relaxed", "float16") 166 }, model=model_1_valid).AddNchw(i5, o6, layout).AddVariations("relaxed", "float16") 184 }, model=model_3_same).AddNchw(i7, o7, layout).AddVariations("relaxed", "float16") 192 }, model=model_3_valid).AddNchw(i7, o8, layout).AddVariations("relaxed", "float16") 211 }, model=model9).AddVariations("relaxed") 253 }).AddNchw(i1, zero_sized, o3, layout).AddVariations("relaxed", quant8, "float16") [all …]
|
D | roi_align.mod.py | 51 }).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16") 118 }).AddNchw(i2, o2, layout).AddVariations("relaxed", quant8, "float16") 171 }).AddNchw(i3, o3, layout).AddVariations("relaxed", quant8, "float16") 211 }).AddNchw(i4, o4, layout).AddVariations("relaxed", quant8, "float16") 244 }).AddNchw(i1, zero_sized, layout).AddVariations("relaxed", quant8, "float16") 264 }).AddNchw(i4, o4, layout).AddVariations("relaxed", quant8, "float16")
|
D | softmax_v1_2.mod.py | 44 Example(example1).AddVariations("relaxed", "float16", quant8).AddDims([1, 3], i, o) 47 Example(example2).AddVariations("relaxed", "float16", quant8).AddDims([1, 3], i, o) 52 Example(example1).AddVariations("relaxed", "float16", quant8).AddAllDimsAndAxis(i, o, axis) 55 Example(example2).AddVariations("relaxed", "float16", quant8).AddAllDimsAndAxis(i, o, axis) 105 }).AddVariations("relaxed", quant8, "float16")
|
D | conv2d_dilation.mod.py | 38 }).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16") 68 }).AddNchw(i2, o2, layout).AddVariations("relaxed", quant8, "float16") 89 }, name="valid_padding").AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16") 119 }, name="valid_padding").AddNchw(i2, o2, layout).AddVariations("relaxed", quant8, "float16") 146 }).AddNchw(i3, o3, layout).AddVariations("relaxed", quant8, "float16")
|
D | l2_pool_v1_2.mod.py | 28 }).AddNchw(i1, o1, layout).AddVariations("relaxed", "float16") 40 }).AddNchw(i2, o2, layout).AddVariations("relaxed", "float16") 52 }).AddNchw(i3, o3, layout).AddVariations("relaxed", "float16") 80 }).AddNchw(i1, zero_sized, o3, layout).AddVariations("relaxed", "float16") 108 }).AddNchw(i1, zero_sized, o3, layout).AddVariations("relaxed", "float16")
|
D | transpose_conv2d.mod.py | 65 }).AddNchw(i1, o1, s1, layout).AddAllActivations(o1, act).AddVariations("relaxed", quant8, quant8_m… 97 }).AddNchw(i2, o2, s2, layout).AddVariations("relaxed", quant8, channelQuant8, "float16") 123 }).AddNchw(i3, o3, s3, layout).AddVariations("relaxed", quant8, "float16") 151 }).AddNchw(i4, o4, s4, layout).AddVariations("relaxed", quant8, "float16") 175 }).AddNchw(i5, o5, layout).AddVariations("relaxed", quant8, "float16") 218 }).AddNchw(i1, zero_sized, o3, s, layout).AddVariations("relaxed", quant8, "float16") 260 }).AddNchw(i1, zero_sized, o3, layout).AddVariations("relaxed", quant8, "float16") 282 }).AddNchw(i8, o8, s8, layout).AddVariations("relaxed", quant8, "float16")
|
D | space_to_batch_v1_2.mod.py | 35 }).AddNchw(i1, o1, layout).AddVariations("relaxed", "float16", quant8) 53 }).AddNchw(i2, o2, layout).AddVariations("relaxed", "float16", quant8) 73 }).AddNchw(i3, o3, layout).AddVariations("relaxed", "float16", quant8) 94 }).AddNchw(i4, o4, layout).AddVariations("relaxed", "float16", quant8)
|
D | avg_pool_v1_2.mod.py | 34 }).AddNchw(i1, o1, layout).AddVariations("relaxed", "float16", quant8) 64 }).AddNchw(i2, o2, layout).AddVariations("relaxed", "float16", quant8) 92 }).AddNchw(i3, o3, layout).AddVariations("relaxed", "float16", quant8) 120 }).AddNchw(i4, o4, layout).AddVariations("relaxed", "float16", quant8) 138 }).AddNchw(i5, o5, layout).AddVariations("relaxed", "float16", quant8) 176 }).AddNchw(i1, zero_sized, o3, layout).AddVariations("relaxed", quant8, "float16") 214 }).AddNchw(i1, zero_sized, o3, layout).AddVariations("relaxed", quant8, "float16")
|
D | local_response_normalization_v1_2.mod.py | 26 })).AddAllDimsAndAxis(i, o, axis).AddVariations("relaxed", "float16") 32 })).AddAllDimsAndAxis(i, o, axis).AddVariations("relaxed", "float16") 38 })).AddDims([1, 2, 3], i, o, includeDefault=False).AddVariations("relaxed", "float16")
|
D | max_pool_v1_2.mod.py | 34 }).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16") 62 }).AddNchw(i2, o2, layout).AddVariations("relaxed", quant8, "float16") 90 }).AddNchw(i3, o3, layout).AddVariations("relaxed", quant8, "float16") 108 }).AddNchw(i4, o4, layout).AddVariations("relaxed", quant8, "float16") 146 }).AddNchw(i1, zero_sized, o3, layout).AddVariations("relaxed", quant8, "float16") 184 }).AddNchw(i1, zero_sized, o3, layout).AddVariations("relaxed", quant8, "float16")
|
D | instance_normalization.mod.py | 36 }).AddNchw(i1, o1, layout).AddVariations("relaxed", "float16") 56 }).AddNchw(i2, o2, layout).AddVariations("relaxed", "float16") 68 }).AddNchw(i3, o3, layout).AddVariations("relaxed", "float16")
|
D | detection_postprocess.mod.py | 66 Example((input0, output0)).AddVariations("relaxed", "float16") 117 Example((input0, output0)).AddVariations("relaxed", "float16") 168 Example((input0, output0)).AddVariations("relaxed", "float16") 219 Example((input0, output0)).AddVariations("relaxed", "float16")
|
/frameworks/ml/nn/runtime/test/specs/V1_3/ |
D | resize_quant8_signed.mod.py | 39 Example(test1, model=model_shape).AddNchw(i1, o1, layout).AddVariations(quant8_signed, includeDefau… 40 Example(test1, model=model_scale).AddNchw(i1, o1, layout).AddVariations(quant8_signed, includeDefau… 63 Example(test2, model=model_shape).AddNchw(i2, o2, layout).AddVariations(quant8_signed, includeDefau… 64 Example(test2, model=model_scale).AddNchw(i2, o2, layout).AddVariations(quant8_signed, includeDefau… 87 Example(test3, model=model_shape).AddVariations(quant8_signed, includeDefault=False) 88 Example(test3, model=model_scale).AddVariations(quant8_signed, includeDefault=False) 126 }).AddNchw(i1, zero_sized, o3, layout).AddVariations(quant8_signed, includeDefault=False) 164 }).AddNchw(i1, zero_sized, o3, layout).AddVariations(quant8_signed, includeDefault=False) 186 Example(test1, model=model_shape).AddNchw(i1, o1, layout).AddVariations(quant8_signed, includeDefau… 187 Example(test1, model=model_scale).AddNchw(i1, o1, layout).AddVariations(quant8_signed, includeDefau… [all …]
|
D | roi_align_quant8_signed.mod.py | 51 }).AddNchw(i1, o1, layout).AddVariations(quant8_signed, includeDefault=False) 118 }).AddNchw(i2, o2, layout).AddVariations(quant8_signed, includeDefault=False) 171 }).AddNchw(i3, o3, layout).AddVariations(quant8_signed, includeDefault=False) 211 }).AddNchw(i4, o4, layout).AddVariations(quant8_signed, includeDefault=False) 244 }).AddNchw(i1, zero_sized, layout).AddVariations(quant8_signed, includeDefault=False) 264 }).AddNchw(i4, o4, layout).AddVariations(quant8_signed, includeDefault=False)
|
D | transpose_quant8_signed.mod.py | 47 }).AddVariations(quant8_signed, channelQuant8_signed, includeDefault=False) 99 }).AddNchw(i1, o1, s1, layout).AddAllActivations(o1, act).AddVariations(quant8_signed, quant8_signe… 132 }).AddNchw(i2, o2, s2, layout).AddVariations(quant8_signed, channelQuant8_signed, includeDefault=Fa… 159 }).AddNchw(i3, o3, s3, layout).AddVariations(quant8_signed, includeDefault=False) 187 }).AddNchw(i4, o4, s4, layout).AddVariations(quant8_signed, includeDefault=False) 211 }).AddNchw(i5, o5, layout).AddVariations(quant8_signed, includeDefault=False) 254 }).AddNchw(i1, zero_sized, o3, s, layout).AddVariations(quant8_signed, includeDefault=False) 296 }).AddNchw(i1, zero_sized, o3, layout).AddVariations(quant8_signed, includeDefault=False) 318 }).AddNchw(i8, o8, s8, layout).AddVariations(quant8_signed, includeDefault=False) 376 }).AddVariations(quant8_signed, includeDefault=False) [all …]
|
D | transpose_conv2d_quant8_signed.mod.py | 47 }).AddVariations(quant8_signed, channelQuant8_signed, includeDefault=False) 99 }).AddNchw(i1, o1, s1, layout).AddAllActivations(o1, act).AddVariations(quant8_signed, quant8_signe… 132 }).AddNchw(i2, o2, s2, layout).AddVariations(quant8_signed, channelQuant8_signed, includeDefault=Fa… 158 }).AddNchw(i3, o3, s3, layout).AddVariations(quant8_signed, includeDefault=False) 186 }).AddNchw(i4, o4, s4, layout).AddVariations(quant8_signed, includeDefault=False) 210 }).AddNchw(i5, o5, layout).AddVariations(quant8_signed, includeDefault=False) 253 }).AddNchw(i1, zero_sized, o3, s, layout).AddVariations(quant8_signed, includeDefault=False) 295 }).AddNchw(i1, zero_sized, o3, layout).AddVariations(quant8_signed, includeDefault=False) 317 }).AddNchw(i8, o8, s8, layout).AddVariations(quant8_signed, includeDefault=False)
|
D | softmax_quant8_signed.mod.py | 85 Example(example1).AddVariations(quant8_signed, includeDefault=False).AddDims([1, 3], i, o) 88 Example(example2).AddVariations(quant8_signed, includeDefault=False).AddDims([1, 3], i, o) 94 Example(example1).AddVariations(quant8_signed, includeDefault=False).AddAllDimsAndAxis(i, o, axis) 97 Example(example2).AddVariations(quant8_signed, includeDefault=False).AddAllDimsAndAxis(i, o, axis) 136 }).AddVariations(quant8_signed, includeDefault=False)
|
D | box_with_nms_limit_quant8_signed.mod.py | 110 Example((input0, output0)).AddVariations(quant8_signed, includeDefault=False) 199 Example((input0, output0)).AddVariations(quant8_signed, includeDefault=False) 287 Example((input0, output0)).AddVariations(quant8_signed, includeDefault=False) 373 Example((input0, output0)).AddVariations(quant8_signed, includeDefault=False) 468 Example((input0, output0)).AddVariations(quant8_signed, includeDefault=False) 562 Example((input0, output0)).AddVariations(quant8_signed, includeDefault=False)
|
/frameworks/ml/nn/tools/test_generator/tests/P_vts_implicit_variation/ |
D | conv_float.mod.py | 42 ).AddVariations( 44 ).AddVariations( 48 ).AddVariations( 50 ).AddVariations(
|
/frameworks/ml/nn/tools/test_generator/tests/P_implicit_variation/ |
D | conv_float.mod.py | 42 ).AddVariations( 44 ).AddVariations( 48 ).AddVariations( 50 ).AddVariations(
|
/frameworks/ml/nn/tools/test_generator/ |
D | README.md | 205 Use `AddVariations` to add a group of variations to the example 209 example.AddVariations(nchw).AddVariations(relaxed, quant8) 215 example.AddVariations(nchw, defaultName="nhwc").AddVariations(relaxed, quant8) 222 example.AddVariations(nchw, includeDefault=False).AddVariations(relaxed, quant8) 258 example.AddVariations(DataTypeConverter().Identify({op1: "TENSOR_FLOAT16", ...})) 259 example.AddVariations("float16") # will apply to every TENSOR_FLOAT32 operands 261 example.AddVariations(DataTypeConverter().Identify({op1: "TENSOR_INT32", ...})) 262 example.AddVariations("int32") # will apply to every TENSOR_FLOAT32 operands 265 example.AddVariations(DataLayoutConverter("nchw").Identify(op_list)) 266 example.AddVariations(("nchw", op_list)) [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_naming/ |
D | conv_float.mod.py | 53 ).AddVariations( 55 ).AddVariations( 57 ).AddVariations( 59 ).AddVariations(
|
/frameworks/ml/nn/tools/test_generator/tests/P_vts_naming/ |
D | conv_float.mod.py | 53 ).AddVariations( 55 ).AddVariations( 57 ).AddVariations( 59 ).AddVariations(
|