/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | dilated_conv.h | 324 int dilation_h_factor = -1, dilation_w_factor = -1; in ExtractDilationsAttrFromBlockShape() local 328 dilation_w_factor = stb_bs_attr.getValue({1}).cast<IntegerAttr>().getInt(); in ExtractDilationsAttrFromBlockShape() 336 dilation_w_factor = in ExtractDilationsAttrFromBlockShape() 342 dilation_w_factor = 1; in ExtractDilationsAttrFromBlockShape() 346 if (dilation_h_factor == -1 || dilation_w_factor == -1) { in ExtractDilationsAttrFromBlockShape() 350 return rewriter.getI64ArrayAttr({1, dilation_h_factor, dilation_w_factor, 1}); in ExtractDilationsAttrFromBlockShape()
|
/external/tensorflow/tensorflow/lite/g3doc/guide/ |
D | ops_version.md | 62 dilation_w_factor:int = 1; 140 params->dilation_width_factor = schema_params->dilation_w_factor(); 195 int32_t dilation_w_factor; 207 op_sig.options.depthwise_conv_2d.dilation_w_factor = 208 conv_option->dilation_w_factor(); 224 if (op_sig.options.depthwise_conv_2d.dilation_w_factor != 1 ||
|
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/ |
D | optimize.mlir | 11 …%0 = "tfl.conv_2d"(%arg0, %arg1, %arg2) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32,… 15 …// CHECK: %0 = "tfl.conv_2d"(%arg0, %arg1, %arg2) {dilation_h_factor = 2 : i32, dilation_w_factor … 21 …1, %arg2) {depth_multiplier = 4 : i32, dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, f… 25 …1, %arg2) {depth_multiplier = 4 : i32, dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, f… 53 …%0 = "tfl.conv_2d"(%arg0, %arg1, %cst_0) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32… 65 …%0 = "tfl.conv_2d"(%arg0, %arg1, %cst_0) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32… 169 …%1 = "tfl.conv_2d"(%0, %w, %bias) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, fused… 174 … "tfl.conv_2d"(%arg0, %[[w]], %[[b]]) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, f… 184 …%1 = "tfl.conv_2d"(%0, %w, %bias) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, fused… 189 … "tfl.conv_2d"(%arg0, %[[w]], %[[b]]) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, f… [all …]
|
D | optimize_functional_ops.mlir | 81 …%4 = "tfl.conv_2d"(%arg0, %cst_2, %cst_1) {dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i3… 114 …%4 = "tfl.conv_2d"(%arg0, %cst_2, %cst_1) {dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i3… 150 …%4 = "tfl.conv_2d"(%arg0, %cst_2, %cst_1) {dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i3…
|
D | prepare-quantize.mlir | 64 …%conv = "tfl.conv_2d"(%input, %weight, %bias) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 … 84 …%conv = "tfl.conv_2d"(%input, %weight, %bias) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 … 105 …%5 = "tfl.conv_2d"(%2, %4, %cst) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, fused_… 149 …%4, %cst) {depth_multiplier = 4 : i32, dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, f… 469 …dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, fused_activation_function = "NONE", padd… 581 …%conv1 = "tfl.conv_2d"(%1, %2, %cst) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, fu… 586 …%conv2 = "tfl.conv_2d"(%4, %5, %cst) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, fu… 614 …%conv2 = "tfl.conv_2d"(%5, %6, %cst) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, fu… 637 …%conv2 = "tfl.conv_2d"(%5, %6, %cst) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, fu… 691 %c = "tfl.conv_2d"(%arg0, %w, %b) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, [all …]
|
D | prepare-quantize-signed.mlir | 112 …%conv = "tfl.conv_2d"(%arg0, %w, %b) {dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, fu… 132 …%conv = "tfl.conv_2d"(%arg0, %w, %b) {dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, fu… 152 …, %w, %b) {depth_multiplier = 4 : i32, dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, f…
|
D | default_quant_params.mlir | 63 …%3 = "tfl.conv_2d"(%0, %1, %2) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, fused_ac… 81 …%1 = "tfl.conv_2d"(%arg0, %0, %arg2) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, fu…
|
D | post-quantize.mlir | 37 …%3 = "tfl.conv_2d"(%0, %1, %2) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, fused_ac… 56 …d"(%arg0, %[[q_cst_0]], %[[q_cst_1]]) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, f…
|
D | quantize.mlir | 65 …%5 = "tfl.conv_2d"(%2, %4, %cst) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, fused_… 90 …%4, %cst) {depth_multiplier = 4 : i32, dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, f… 96 …[[cst0]]) {depth_multiplier = 4 : i32, dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, f…
|
D | prepare-tf.mlir | 25 …fl.conv_2d"(%arg0, %0, %[[CONSTANT]]) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, f… 28 …fl.conv_2d"(%arg0, %3, %[[CONSTANT]]) {dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, f… 50 …NSTANT]]) {depth_multiplier = 4 : i32, dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, f… 53 …NSTANT]]) {depth_multiplier = 4 : i32, dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, f… 671 ….conv_2d"(%arg0, %[[CST0]], %[[CST]]) {dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, f…
|
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/ |
D | depthwise_conv2d_v2.mlir | 70 // CHECK-NEXT: dilation_w_factor: 2, 102 …, %2, %0) {depth_multiplier = 4 : i32, dilation_h_factor = 2 : i32, dilation_w_factor = 2 : i32, f…
|
D | quantization.mlir | 118 // CHECK-NEXT: dilation_w_factor: 3, 175 …%4 = "tfl.conv_2d"(%1, %2, %3) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, fused_ac…
|
D | depthwise_conv2d.mlir | 100 …, %2, %0) {depth_multiplier = 4 : i32, dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, f…
|
/external/tensorflow/tensorflow/lite/tools/versioning/ |
D | op_version.h | 31 int32_t dilation_w_factor; member
|
D | op_version.cc | 107 if (op_sig.options.depthwise_conv_2d.dilation_w_factor != 1 || in GetBuiltinOperatorVersion() 683 op_sig.options.depthwise_conv_2d.dilation_w_factor = in GetOpSignature() 684 conv_option->dilation_w_factor(); in GetOpSignature()
|
D | op_version_test.cc | 616 fake_op_sig.options.depthwise_conv_2d.dilation_w_factor = 2; in TEST() 626 fake_op_sig.options.depthwise_conv_2d.dilation_w_factor = 1; in TEST()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/ |
D | dynamic_shape.mlir | 7 …%0 = "tfl.conv_2d"(%arg0, %cst_3, %cst) {dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32,…
|
D | import_json.json | 4 …] = "tfl.conv_2d"(%arg0, %arg1, %cst) {dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, f…
|
D | optional_input.json | 6 …] = "tfl.conv_2d"(%arg0, %arg1, %cst) {dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, f…
|
D | quantization.mlir | 15 …%3 = "tfl.conv_2d"(%0, %1, %2) {dilation_h_factor = 2 : i32, dilation_w_factor = 3 : i32, fused_ac…
|
/external/tensorflow/tensorflow/compiler/mlir/tosa/g3doc/ |
D | legalization.md | 3342 %output = tfl.conv_2d(%input, %filter, %bias) {dilation_h_factor, dilation_w_factor, fused_activati… 3355 … {1, stride_h, stride_w, 1}, {1, dilation_h_factor, dilation_w_factor, 1}) 3361 …_padding, stride={stride_h, stride_w}, dilation={dilation_h_factor, dilation_w_factor}} : (tensor<… 3386 … {1, stride_h, stride_w, 1}, {1, dilation_h_factor, dilation_w_factor, 1}) 3392 …_padding, stride={stride_h, stride_w}, dilation={dilation_h_factor, dilation_w_factor}, quantizati… 3423 %output = tfl.depthwise_conv_2d(%input, %filter, %bias) {dilation_h_factor, dilation_w_factor, fuse… 3436 … {1, stride_h, stride_w, 1}, {1, dilation_h_factor, dilation_w_factor, 1}) 3442 …_padding, stride={stride_h, stride_w}, dilation={dilation_h_factor, dilation_w_factor}} : (tensor<… 3466 … {1, stride_h, stride_w, 1}, {1, dilation_h_factor, dilation_w_factor, 1}) 3472 …_padding, stride={stride_h, stride_w}, dilation={dilation_h_factor, dilation_w_factor}, quantizati…
|
/external/tensorflow/tensorflow/compiler/mlir/tosa/tests/ |
D | tfl-to-tosa-pipeline.mlir | 17 …%0 = "tfl.conv_2d"(%arg0, %cst_0, %cst) {dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32… 26 …%0 = "tfl.conv_2d"(%arg0, %cst, %cst_0) {dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32… 52 …%2 = "tfl.conv_2d"(%arg0, %0, %1) {dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, fused… 71 …, %0, %1) {depth_multiplier = 2 : i32, dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, f…
|
/external/tensorflow/tensorflow/lite/schema/ |
D | schema.fbs | 496 dilation_w_factor:int = 1; 507 dilation_w_factor:int = 1; 531 dilation_w_factor:int = 1;
|
D | schema_generated.h | 3862 int32_t dilation_w_factor; 3869 dilation_w_factor(1), 3896 int32_t dilation_w_factor() const { 3932 void add_dilation_w_factor(int32_t dilation_w_factor) { 3933 fbb_.AddElement<int32_t>(Conv2DOptions::VT_DILATION_W_FACTOR, dilation_w_factor, 1); 3956 int32_t dilation_w_factor = 1, 3960 builder_.add_dilation_w_factor(dilation_w_factor); 3978 int32_t dilation_w_factor; 3987 dilation_w_factor(1), 4022 int32_t dilation_w_factor() const { [all …]
|
/external/tensorflow/tensorflow/lite/core/api/ |
D | flatbuffer_conversions.cc | 788 params->dilation_width_factor = conv3d_params->dilation_w_factor(); in ParseOpDataTfLite() 1089 params->dilation_width_factor = schema_params->dilation_w_factor(); in ParseConv2D() 1158 params->dilation_width_factor = schema_params->dilation_w_factor(); in ParseDepthwiseConv2D()
|