/frameworks/ml/nn/runtime/test/specs/V1_3/ |
D | resize_quant8_signed.mod.py | 22 model_shape = Model("shape").Operation("RESIZE_BILINEAR", i1, 3, 3, layout).To(o1) 23 model_scale = Model("scale").Operation("RESIZE_BILINEAR", i1, 1.5, 1.5, layout).To(o1) 46 model_shape = Model("shape").Operation("RESIZE_BILINEAR", i2, 3, 3, layout).To(o2) 47 model_scale = Model("scale").Operation("RESIZE_BILINEAR", i2, 1.6, 1.6, layout).To(o2) 70 model_shape = Model("shape").Operation("RESIZE_BILINEAR", i3, 3, 3).To(o3) 71 model_scale = Model("scale").Operation("RESIZE_BILINEAR", i3, 1.8, 1.8).To(o3) 100 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 105 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 109 model = model.Operation("RESIZE_BILINEAR", zero_sized, 3, 3, layout).To(o3) 138 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) [all …]
|
D | conv2d_quant8_signed.mod.py | 24 Model().Operation("CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 0, layout, 1, 1).To(o1) 46 Model().Operation("CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 0, layout, 3, 3).To(o2) 75 Model().Operation("CONV_2D", i1, f1, b1, 2, 1, 1, 0, layout, 1, 1).To(o1) 97 Model().Operation("CONV_2D", i2, f2, b2, 2, 1, 1, 0, layout, 3, 3).To(o2) 127 Model().Operation("CONV_2D", i3, f3, b3, 1, 2, 2, 0, layout, 3, 3).To(o3) 154 Model().Operation("CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 0).To(o1) 169 Model("layouts").Operation("CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 0, layout).To(o2) 186 …ed").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 191 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 198 model = model.Operation("CONV_2D", zero_sized, w, b, 0, 0, 0, 0, 1, 1, 0, layout).To(o3) [all …]
|
D | softmax_quant8_signed.mod.py | 23 model = model.Operation("SOFTMAX", i1, beta).To(output) 42 model = model.Operation("SOFTMAX", i1, beta).To(output) 84 Model().Operation("SOFTMAX", i, 1.0).To(o) 87 Model().Operation("SOFTMAX", i, 0.000001).To(o) 93 Model("axis").Operation("SOFTMAX", i, 1.0, axis).To(o) 96 Model("axis").Operation("SOFTMAX", i, 0.000001, axis).To(o) 109 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 115 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 119 model = model.Operation("SOFTMAX", zero_sized, 1.0).To(o3)
|
D | transpose_quant8_signed.mod.py | 26 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 1, 32, 32, act, layout).To(o1) 60 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 2, 2, 2, act, layout).To(o1) 109 Model().Operation("TRANSPOSE_CONV_2D", i2, w2, b2, s2, 1, 3, 3, 1, layout).To(o2) 142 Model().Operation("TRANSPOSE_CONV_2D", i3, w3, b3, s3, 1, 1, 1, 0, layout).To(o3) 168 Model().Operation("TRANSPOSE_CONV_2D", i4, w4, b4, s4, 2, 1, 1, 0, layout).To(o4) 195 Model().Operation("TRANSPOSE_CONV_2D", i5, w5, b5, 1, 2, 2, 1, 1, 1, 0, layout).To(o5) 223 …ed").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 228 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 235 model = model.Operation("TRANSPOSE_CONV_2D", zero_sized, w, b, s, 2, 2, 2, 0, layout).To(o3) 266 …ed").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) [all …]
|
D | pad_quant8_signed.mod.py | 26 model = Model().Operation("PAD", input0, paddings).To(output0) 51 model = Model().Operation("PAD", input0, paddings).To(output0) 67 model = Model().Operation("PAD", input0, paddings).To(output0) 90 model = Model().Operation("PAD", input0, paddings).To(output0) 111 model = Model().Operation("PAD_V2", input0, paddings, pad_value).To(output0) 133 model = Model().Operation("PAD_V2", input0, paddings, pad_value).To(output0) 155 model = Model().Operation("PAD_V2", input0, paddings, pad_value).To(output0)
|
D | depthwise_conv2d_quant8_signed.mod.py | 24 Model().Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 2, 0, layout, 1, 1).To(o1) 52 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 2, 0, layout, 2, 2).To(o2) 81 Model().Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 2, 1, 1, 2, 0, layout, 1, 1).To(o1) 109 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 2, 1, 1, 2, 0, layout, 2, 2).To(o2) 138 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 1, 2, 2, 1, 0, layout, 3, 3).To(o2) 170 Model("same").Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 1, 0).To(o1) 187 Model("different").Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 2, 0).To(o2) 207 Model("layout").Operation("DEPTHWISE_CONV_2D", i3, f3, b3, 0, 0, 0, 0, 1, 1, 2, 0, layout).To(o3) 232 cm, act_none).To(output) 264 cm, act).To(output) [all …]
|
D | fully_connected_quant8_signed.mod.py | 26 model = model.Operation("FULLY_CONNECTED", in0, weights, bias, act_relu).To(out0) 46 model = model.Operation("FULLY_CONNECTED", in0, weights, bias, act).To(out0) 65 model = model.Operation("FULLY_CONNECTED", in0, weights, bias, act).To(out0) 88 model = model.Operation("FULLY_CONNECTED", in0, weights, bias, act).To(out0) 107 model = model.Operation("FULLY_CONNECTED", in0, weights, bias, act).To(out0) 128 model = model.Operation("FULLY_CONNECTED", in0, weights, bias, act).To(out0) 156 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 162 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 168 model = model.Operation("FULLY_CONNECTED", zero_sized, w, b, 0).To(o3)
|
D | while_sum_of_powers_quant8_signed.mod.py | 47 model.Operation("LESS", j, i).To(out) 60 model.Operation("MUL", xi, x, 0).To(xi_out) 61 model.Operation("ADD", j, [1], 0).To(j_out) 73 model.Operation("LESS_EQUAL", i, n).To(out) 92 model.Operation("ADD", x, zero, 0).To(xi_init) 93 model.Operation("WHILE", cond, body, xi_init, j_init, i, x).To(xi) 94 model.Operation("ADD", i, [1], 0).To(i_out) 95 model.Operation("ADD", sum, xi, 0).To(sum_out) 106 model = Model().Operation("WHILE", cond, body, sum_init, i_init, n, x).To(sum)
|
D | while_sum_of_powers_quant8.mod.py | 47 model.Operation("LESS", j, i).To(out) 60 model.Operation("MUL", xi, x, 0).To(xi_out) 61 model.Operation("ADD", j, [1], 0).To(j_out) 73 model.Operation("LESS_EQUAL", i, n).To(out) 92 model.Operation("ADD", x, zero, 0).To(xi_init) 93 model.Operation("WHILE", cond, body, xi_init, j_init, i, x).To(xi) 94 model.Operation("ADD", i, [1], 0).To(i_out) 95 model.Operation("ADD", sum, xi, 0).To(sum_out) 106 model = Model().Operation("WHILE", cond, body, sum_init, i_init, n, x).To(sum)
|
D | space_to_batch_quant8_signed.mod.py | 23 model = model.Operation("SPACE_TO_BATCH_ND", i1, block, paddings).To(output) 53 model = model.Operation("SPACE_TO_BATCH_ND", i1, block, paddings).To(output) 81 model = model.Operation("SPACE_TO_BATCH_ND", i1, block, paddings).To(output) 113 model = model.Operation("SPACE_TO_BATCH_ND", i1, block, paddings).To(output) 141 Model().Operation("SPACE_TO_BATCH_ND", i1, [2, 2], pad1, layout).To(o1) 159 Model().Operation("SPACE_TO_BATCH_ND", i2, [2, 2], pad1, layout).To(o2) 178 Model().Operation("SPACE_TO_BATCH_ND", i3, [3, 2], pad3, layout).To(o3) 198 Model().Operation("SPACE_TO_BATCH_ND", i4, [3, 2], pad4, layout).To(o4)
|
D | transpose_conv2d_quant8_signed.mod.py | 26 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 1, 32, 32, act, layout).To(o1) 60 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 2, 2, 2, act, layout).To(o1) 109 Model().Operation("TRANSPOSE_CONV_2D", i2, w2, b2, s2, 1, 3, 3, 1, layout).To(o2) 141 Model().Operation("TRANSPOSE_CONV_2D", i3, w3, b3, s3, 1, 1, 1, 0, layout).To(o3) 167 Model().Operation("TRANSPOSE_CONV_2D", i4, w4, b4, s4, 2, 1, 1, 0, layout).To(o4) 194 Model().Operation("TRANSPOSE_CONV_2D", i5, w5, b5, 1, 2, 2, 1, 1, 1, 0, layout).To(o5) 222 …ed").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 227 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 234 model = model.Operation("TRANSPOSE_CONV_2D", zero_sized, w, b, s, 2, 2, 2, 0, layout).To(o3) 265 …ed").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) [all …]
|
D | strided_slice_quant8_signed.mod.py | 28 …peration("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisMask).To(output) 53 …peration("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisMask).To(output) 78 …peration("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisMask).To(output) 103 …peration("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisMask).To(output) 128 …peration("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisMask).To(output) 153 …peration("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisMask).To(output) 178 …peration("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisMask).To(output) 203 …peration("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisMask).To(output) 228 …peration("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisMask).To(output) 253 …peration("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisMask).To(output) [all …]
|
/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | resize_nearest_neighbor.mod.py | 22 model_shape = Model("shape").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 1, 1, layout).To(o1) 23 model_scale = Model("scale").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 0.5, 0.5, layout).To(o1) 43 model_shape = Model("shape").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 3, 3, layout).To(o1) 44 model_scale = Model("scale").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 1.5, 1.5, layout).To(o1) 64 model_shape = Model("shape").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 2, 2, layout).To(o1) 65 model_scale = Model("scale").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 0.8, 0.8, layout).To(o1) 85 model_shape = Model("shape").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 5, 2, layout).To(o1) 86 model_scale = Model("scale").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 2.6, 1.1, layout).To(o1) 106 model_shape = Model("shape").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 3, 3, layout).To(o1) 107 model_scale = Model("scale").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 0.9, 0.9, layout).To(o1) [all …]
|
D | resize_bilinear_v1_2.mod.py | 22 model_shape = Model("shape").Operation("RESIZE_BILINEAR", i1, 3, 3, layout).To(o1) 23 model_scale = Model("scale").Operation("RESIZE_BILINEAR", i1, 1.5, 1.5, layout).To(o1) 46 model_shape = Model("shape").Operation("RESIZE_BILINEAR", i2, 3, 3, layout).To(o2) 47 model_scale = Model("scale").Operation("RESIZE_BILINEAR", i2, 1.6, 1.6, layout).To(o2) 70 model_shape = Model("shape").Operation("RESIZE_BILINEAR", i3, 3, 3).To(o3) 71 model_scale = Model("scale").Operation("RESIZE_BILINEAR", i3, 1.8, 1.8).To(o3) 100 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 105 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 109 model = model.Operation("RESIZE_BILINEAR", zero_sized, 3, 3, layout).To(o3) 138 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) [all …]
|
D | l2_pool_v1_2.mod.py | 22 Model().Operation("L2_POOL_2D", i1, 0, 0, 0, 0, 1, 1, 1, 1, 0, layout).To(o1) 34 Model().Operation("L2_POOL_2D", i2, 1, 2, 2, 2, 2, 0, layout).To(o2) 46 Model("large").Operation("L2_POOL_2D", i3, 0, 0, 0, 0, 1, 1, 2, 2, 0, layout).To(o3) 64 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 69 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 73 model = model.Operation("L2_POOL_2D", zero_sized, 0, 0, 0, 0, 1, 1, 2, 2, 0, layout).To(o3) 92 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 97 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 101 model = model.Operation("L2_POOL_2D", zero_sized, 1, 1, 1, 2, 2, 0, layout).To(o3)
|
D | softmax_v1_2.mod.py | 43 Model().Operation("SOFTMAX", i, 1.0).To(o) 46 Model().Operation("SOFTMAX", i, 0.000001).To(o) 51 Model("axis").Operation("SOFTMAX", i, 1.0, axis).To(o) 54 Model("axis").Operation("SOFTMAX", i, 0.000001, axis).To(o) 78 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 84 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 88 model = model.Operation("SOFTMAX", zero_sized, 1.0).To(o3)
|
D | conv2d_v1_2.mod.py | 24 Model().Operation("CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 0, layout).To(o1) 52 Model().Operation("CONV_2D", i2, f2, b2, 1, 1, 1, 1, layout).To(o2) 80 Model("channel").Operation("CONV_2D", i3, f3, b3, 0, 0, 0, 0, 1, 1, 0, layout).To(o3) 108 Model("large").Operation("CONV_2D", i4, f4, b4, 0, 0, 0, 0, 1, 1, 0, layout).To(o4) 149 model_1_same = Model("1_H3_W2_SAME").Operation("CONV_2D", i5, f5, b5, 1, 1, 1, 0, layout).To(o5) 150 model_1_valid = Model("1_H3_W2_VALID").Operation("CONV_2D", i5, f5, b5, 2, 1, 1, 0, layout).To(o6) 175 model_3_same = Model("3_H3_W2_SAME").Operation("CONV_2D", i7, f7, b7, 1, 1, 1, 0, layout).To(o7) 176 model_3_valid = Model("3_H3_W2_VALID").Operation("CONV_2D", i7, f7, b7, 2, 1, 1, 0, layout).To(o8) 202 model9 = Model("quant_output_multiplier_gt_1").Operation("CONV_2D", i9, f9, b9, 2, 2, 2, 0).To(o9) 223 …ed").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) [all …]
|
D | transpose_conv2d.mod.py | 26 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 2, 2, 2, act, layout).To(o1) 74 Model().Operation("TRANSPOSE_CONV_2D", i2, w2, b2, s2, 1, 3, 3, 1, layout).To(o2) 106 Model().Operation("TRANSPOSE_CONV_2D", i3, w3, b3, s3, 1, 1, 1, 0, layout).To(o3) 132 Model().Operation("TRANSPOSE_CONV_2D", i4, w4, b4, s4, 2, 1, 1, 0, layout).To(o4) 159 Model().Operation("TRANSPOSE_CONV_2D", i5, w5, b5, 1, 2, 2, 1, 1, 1, 0, layout).To(o5) 187 …ed").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 192 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 199 model = model.Operation("TRANSPOSE_CONV_2D", zero_sized, w, b, s, 2, 2, 2, 0, layout).To(o3) 230 …ed").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 235 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 4, 4, 2.0, 2.0, 4, 4, layout).To(zero_sized) [all …]
|
D | max_pool_v1_2.mod.py | 22 Model().Operation("MAX_POOL_2D", i1, 0, 0, 0, 0, 1, 1, 1, 1, 0, layout).To(o1) 50 Model().Operation("MAX_POOL_2D", i2, pad, pad, pad, pad, std, std, flt, flt, 0, layout).To(o2) 78 Model().Operation("MAX_POOL_2D", i3, pad, pad, pad, pad, std, std, flt, flt, 3, layout).To(o3) 96 Model().Operation("MAX_POOL_2D", i4, 1, 2, 2, 2, 2, 0, layout).To(o4) 120 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 125 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 129 model = model.Operation("MAX_POOL_2D", zero_sized, 0, 0, 0, 0, 1, 1, 2, 2, 0, layout).To(o3) 158 …d").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 163 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 167 model = model.Operation("MAX_POOL_2D", zero_sized, 1, 1, 1, 2, 2, 0, layout).To(o3)
|
D | avg_pool_v1_2.mod.py | 22 Model().Operation("AVERAGE_POOL_2D", i1, 0, 0, 0, 0, 1, 1, 1, 1, 0, layout).To(o1) 52 Model().Operation("AVERAGE_POOL_2D", i2, pad, pad, pad, pad, std, std, flt, flt, 0, layout).To(o2) 80 Model().Operation("AVERAGE_POOL_2D", i3, pad, pad, pad, pad, std, std, flt, flt, 0, layout).To(o3) 108 Model().Operation("AVERAGE_POOL_2D", i4, pad, pad, pad, pad, std, std, flt, flt, 3, layout).To(o4) 126 Model().Operation("AVERAGE_POOL_2D", i5, 1, 2, 2, 2, 2, 0, layout).To(o5) 150 …ed").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 155 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 159 model = model.Operation("AVERAGE_POOL_2D", zero_sized, 0, 0, 0, 0, 1, 1, 2, 2, 0, layout).To(o3) 188 …ed").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2) 193 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) [all …]
|
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… 32 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 36 model = model.Operation("CONCATENATION", zero_sized, zero_sized, 3).To(o3) 65 model = Model().Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1… 71 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 76 model = model.Operation("CONCATENATION", zero_sized, i2, 0).To(o3)
|
/frameworks/ml/nn/tools/test_generator/tests/P_vts_internal/ |
D | add_internal.mod.py | 42 model.Operation("ADD", o0, o1, act).To(o2) 43 model.Operation("ADD", p0, t5, act).To(t6) 44 model.Operation("ADD", i2, t0, act).To(t1) 45 model.Operation("ADD", i6, p0, act).To(t5) 46 model.Operation("ADD", i0, i1, act).To(t0) 47 model.Operation("ADD", t1, t3, act).To(t4) 48 model.Operation("ADD", t2, i5, act).To(t3) 49 model.Operation("ADD", t4, t6, act).To(o0) 50 model.Operation("ADD", i3, i4, act).To(t2) 51 model.Operation("ADD", i7, i8, act).To(o1)
|
/frameworks/ml/nn/tools/test_generator/tests/P_internal/ |
D | add_internal.mod.py | 42 model.Operation("ADD", o0, o1, act).To(o2) 43 model.Operation("ADD", p0, t5, act).To(t6) 44 model.Operation("ADD", i2, t0, act).To(t1) 45 model.Operation("ADD", i6, p0, act).To(t5) 46 model.Operation("ADD", i0, i1, act).To(t0) 47 model.Operation("ADD", t1, t3, act).To(t4) 48 model.Operation("ADD", t2, i5, act).To(t3) 49 model.Operation("ADD", t4, t6, act).To(o0) 50 model.Operation("ADD", i3, i4, act).To(t2) 51 model.Operation("ADD", i7, i8, act).To(o1)
|
/frameworks/ml/nn/runtime/test/specs/V1_0/ |
D | mobilenet_224_gender_basic_fixed.mod.py | 222 model = model.Operation("CONV_2D", i86, i2, i1, i87, i88, i89, i90).To(i0) 223 model = model.Operation("DEPTHWISE_CONV_2D", i0, i29, i28, i91, i92, i93, i94, i95).To(i27) 224 model = model.Operation("CONV_2D", i27, i32, i31, i96, i97, i98, i99).To(i30) 225 model = model.Operation("DEPTHWISE_CONV_2D", i30, i35, i34, i100, i101, i102, i103, i104).To(i33) 226 model = model.Operation("CONV_2D", i33, i38, i37, i105, i106, i107, i108).To(i36) 227 model = model.Operation("DEPTHWISE_CONV_2D", i36, i41, i40, i109, i110, i111, i112, i113).To(i39) 228 model = model.Operation("CONV_2D", i39, i44, i43, i114, i115, i116, i117).To(i42) 229 model = model.Operation("DEPTHWISE_CONV_2D", i42, i47, i46, i118, i119, i120, i121, i122).To(i45) 230 model = model.Operation("CONV_2D", i45, i50, i49, i123, i124, i125, i126).To(i48) 231 model = model.Operation("DEPTHWISE_CONV_2D", i48, i53, i52, i127, i128, i129, i130, i131).To(i51) [all …]
|
/frameworks/base/core/java/android/animation/ |
D | BidirectionalTypeConverter.java | 55 private static class InvertedConverter<From, To> extends BidirectionalTypeConverter<From, To> { 56 private BidirectionalTypeConverter<To, From> mConverter; 58 public InvertedConverter(BidirectionalTypeConverter<To, From> converter) { in InvertedConverter() argument 64 public From convertBack(To value) { in convertBack() 69 public To convert(From value) { in convert()
|