Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for window_strides (0.32 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_composite_functions_drq.mlir

    // CHECK-SAME: rhs_dilation = [2, 2]
    // CHECK-SAME: rhs_quantization_axis = -1 : i64
    // CHECK-SAME: rhs_quantization_max_val = 127 : i64
    // CHECK-SAME: rhs_quantization_min_val = -128 : i64
    // CHECK-SAME: window_strides = [1, 2]
    // CHECK-SAME: (tensor<1x2x2x3xf32>, tensor<2x3x3x2x!tf_type.qint8>, tensor<f32>, tensor<i32>) -> tensor<*xf32>
    
    // CHECK-LABEL: func private @quantized_conv2d_fn_1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

        dnums.add_kernel_spatial_dimensions(i - 1);
        dnums.add_output_spatial_dimensions(i);
      }
    
      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,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      xla::Window window;
      for (size_t i = 0; i < window_dimensions.size(); i++) {
        auto dim = window.add_dimensions();
        dim->set_size(window_dimensions[i]);
        if (!window_strides.empty()) {
          dim->set_stride(window_strides[i]);
        } else {
          dim->set_stride(1);
        }
        if (!padding.empty()) {
          dim->set_padding_low(padding[i].first);
          dim->set_padding_high(padding[i].second);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/tests/pipelines/process_nchw_tensor.mlir

      ^bb0(%arg1: tensor<f32>, %arg2: tensor<f32>):
          %6 = stablehlo.maximum %arg1, %arg2 : tensor<f32>
          stablehlo.return %6 : tensor<f32>
      }) {
        window_dimensions = array<i64: 1, 1, 2, 2>,
        window_strides = array<i64: 1, 1, 2, 2>
      } : (tensor<1x4x5x5xf32>, tensor<f32>) -> tensor<1x4x2x2xf32>
      return %4 : tensor<1x4x2x2xf32>
    }
    // CHECK-DAG: %[[WEIGHT_CONST:.+]] = stablehlo.constant {{.*}} : tensor<3x3x2x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 20:32:46 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        }
        auto rhs_dilations_attr = rewriter.getNamedAttr(
            "rhs_dilation", GetI64ElementsAttr(rhs_dilations, &rewriter));
    
        auto window_strides_attr = rewriter.getNamedAttr(
            "window_strides", GetI64ElementsAttr(window_strides, &rewriter));
    
        auto dimension_numbers_attr = GetConvDimensionNumbersAttr(
            spatial_dim_indices, data_format, &rewriter);
    
        const int64_t input_channels =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

        // Use NHWC format.
        int32_t stride_h = 1;
        int32_t stride_w = 1;
        std::optional<ArrayRef<int64_t>> window_strides = op.getWindowStrides();
        if (window_strides.has_value()) {
          stride_h = CastI64ToI32((*window_strides)[1]).value();
          stride_w = CastI64ToI32((*window_strides)[2]).value();
        }
        auto stride_h_attr = IntegerAttr::get(rewriter.getI32Type(), stride_h);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir

                                                 window_reversal = #vhlo.tensor_v1<dense<false> : tensor<2xi1>>,
                                                 window_strides = #vhlo.tensor_v1<dense<1> : tensor<2xi64>>}>
                                                  : (tensor<1x1x1600x32xf32>, tensor<1x13x1x32xf32>) -> tensor<1x1x1600x32xf32>
      return %0 : tensor<1x1x1600x32xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library_uniform_quantized.mlir

                                    %input_scale, %input_zp, %filter_scale, %filter_zp, %out_scale, %out_zp) {
            Tin = "tfdtype$DT_QINT8",
            Tout = "tfdtype$DT_QINT32",
            window_strides = [1, 1],
            padding = "SAME",
            explicit_padding = [],
            lhs_dilation = [],
            rhs_dilation = [],
            batch_group_count = 1,
            feature_group_count = 1,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 29 01:13:58 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-quant.mlir

      // CHECK-SAME: (tensor<1x6x6x3xf32>, tensor<2x3x3x2x!quant.uniform<i8:f32, 1.000000e+00:3>>) -> tensor<1x4x1x2xf32>
    
      %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,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 01:25:29 UTC 2024
    - 37.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/prepare_quantize/prepare_quantize.mlir

        %7 = stablehlo.maximum %arg1, %arg2 : tensor<f32>
        stablehlo.return %7 : tensor<f32>
      }) {padding = dense<[[0, 0], [0, 1], [0, 1], [0, 0]]> : tensor<4x2xi64>, window_dimensions = array<i64: 1, 3, 3, 1>, window_strides = array<i64: 1, 2, 2, 1>} : (tensor<?x112x112x64xf32>, tensor<f32>) -> tensor<?x56x56x64xf32>
      return %6 : tensor<?x56x56x64xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 19:52:06 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top