Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for lhs_dilation (0.35 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/nchw_convolution_to_nhwc.cc

        const TensorType new_conv_output_tensor_type =
            GetTransposedTensorType(output_tensor_type, kNchwToNhwcPermutation);
    
        // window_strides, padding, lhs_dilation, rhs_dilation, window_reversal are
        // reused without modification because the ordering of spatial dimensions
        // is not modified (i.e. before: [b, f, 0, 1], after: [b, 0, 1, f] => the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

              "lhs_dilation", BuildVhloTensorV1Attr(shape, data, builder)));
        }
        if (!(op->rhs_dilation.empty())) {
          std::vector<int64_t> shape;
          shape.push_back(static_cast<int64_t>(op->rhs_dilation.size()));
          attributes.emplace_back(builder.getNamedAttr(
              "rhs_dilation",
              BuildVhloTensorV1Attr(shape, op->rhs_dilation, builder)));
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

      }
    
      Value padding, window_strides, lhs_dilation, rhs_dilation,
          feature_group_count;
      PrepareXlaConvParams(builder, loc, strides, dilations, feature_group_cnt,
                           /*window_strides=*/window_strides,
                           /*lhs_dilation=*/lhs_dilation,
                           /*rhs_dilation=*/rhs_dilation,
                           /*feature_group_count=*/feature_group_count,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

              conv_op, "can only be converted to 2D resize op");
    
        auto lhs_dilation = conv_op.getLhsDilation().value();
        auto rhs_dilation = conv_op.getRhsDilation().value();
        auto window_strides = conv_op.getWindowStrides().value();
        auto padding = conv_op.getPadding().value();
        if (lhs_dilation.getNumElements() != 2 || !rhs_dilation.isSplat() ||
            rhs_dilation.getSplatValue<int64_t>() != 1 ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-quant.mlir

      %0 = "tf.UniformQuantizedConvolutionHybrid"(%input, %weight, %weight_scales, %weight_zps) {
        window_strides = [1, 2],
        padding = "VALID",
        explicit_padding = [],
        lhs_dilation = [1, 1],
        rhs_dilation = [2, 2],
        batch_group_count = 1 : i64,
        feature_group_count = 1 : i64,
        dimension_numbers = "\10\03\1A\02\01\02 \02(\032\02\00\01@\03J\02\01\02",
        rhs_quantization_axis = -1 : i64,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 01:25:29 UTC 2024
    - 37.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

        dimension_numbers = #mhlo.conv<[b, 0, f]x[0, i, o]->[b, 0, f]>,
        feature_group_count = 1 : i64,
        lhs_dilation = dense<1> : tensor<1xi64>,
        padding = dense<0> : tensor<1x2xi64>,
        precision_config = [#mhlo<precision DEFAULT>, #mhlo<precision DEFAULT>],
        rhs_dilation = dense<1> : tensor<1xi64>,
        window_strides = dense<1> : tensor<1xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

        } else {
          dim->set_padding_low(0);
          dim->set_padding_high(0);
        }
        if (!lhs_dilation.empty()) {
          dim->set_base_dilation(lhs_dilation[i]);
        } else {
          dim->set_base_dilation(1);
        }
        if (!rhs_dilation.empty()) {
          dim->set_window_dilation(rhs_dilation[i]);
        } else {
          dim->set_window_dilation(1);
        }
        dim->set_window_reversal(false);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc

          attribute_getter_map;
    
      attribute_getter_map = {{"window_strides", GetWindowStridesValue},
                              {"lhs_dilation", GetLhsDilationValue},
                              {"rhs_dilation", GetRhsDilationValue},
                              {"padding", GetPaddingValue},
                              {"explicit_padding", GetExplicitPaddingValue},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/schema/schema.fbs

    table StablehloSliceOptions{
      start_indices : [long];
      limit_indices : [long];
      strides : [long];
    }
    
    table StablehloConvolutionOptions{
      window_strides : [long];
      padding : [long];
      lhs_dilation : [long];
      rhs_dilation : [long];
      window_reversal : [bool];
      input_batch_dimension : long;
      input_feature_dimension : long;
      input_spatial_dimensions : [long];
      kernel_input_feature_dimension : long;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        // Compute ConvDimensionNumbers, dilation, and padding.
        SmallVector<int64_t, num_spatial_dims> spatial_dims;
        SmallVector<int64_t, num_spatial_dims> lhs_dilation;
        SmallVector<int64_t, num_spatial_dims> rhs_dilation;
        SmallVector<int64_t, num_spatial_dims * 2> paddings;
    
        for (int i : llvm::seq<int>(0, num_spatial_dims)) {
          const int64_t spatial_dim =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top