Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for base_dilations (0.25 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/defer_activation_transpose.mlir

    // deferred to the result. The attributes are permutated according to the new
    // input shape. This test is similar to the test above with the difference that
    // the `stablehlo.reduce_window` has explicit optional attributes:
    // `base_dilations` and `window_dilations`.
    
    // CHECK-LABEL: reduce_window_max_activation_transpose_explicit_optional_attrs
    func.func @reduce_window_max_activation_transpose_explicit_optional_attrs(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 20:32:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_ops_on_regular_devices.cc

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 19 19:55:14 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

                  op->window_strides, builder)));
        }
        if (!op->base_dilations.empty()) {
          attributes.emplace_back(builder.getNamedAttr(
              "base_dilations",
              BuildVhloTensorV1Attr(
                  {static_cast<int64_t>(op->base_dilations.size())},
                  op->base_dilations, builder)));
        }
        if (!op->window_dilations.empty()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc

           field_name == "interior_padding"))
        return true;
      if (op_name == "stablehlo.reduce_window" &&
          (field_name == "window_dimensions" || field_name == "window_strides" ||
           field_name == "base_dilations" || field_name == "window_dilations"))
        return true;
      if (op_name == "stablehlo.select_and_scatter" &&
          (field_name == "window_dimensions" || field_name == "window_strides"))
        return true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 06:08:43 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/defer_activation_transpose.cc

                /*window_strides=*/
                PermuteI64ArrayAttr(rewriter, op.getWindowStrides(),
                                    kNchwToNhwcPermutation),
                /*base_dilations=*/
                PermuteI64ArrayAttr(rewriter, op.getBaseDilations(),
                                    kNchwToNhwcPermutation),
                /*window_dilations=*/
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

      %2 = "mhlo.reduce_window"(%arg0, %0) ({
        ^bb0(%arg1: tensor<f32>, %arg2: tensor<f32>):
          %5 = mhlo.add %arg1, %arg2 : tensor<f32>
          "mhlo.return"(%5) : (tensor<f32>) -> ()
        }) {
        base_dilations = dense<1> : tensor<4xi64>,
        padding = dense<0> : tensor<4x2xi64>,
        window_dilations = dense<1> : tensor<4xi64>,
        window_dimensions = dense<[1, 3, 3, 1]> : tensor<4xi64>,
    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/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

          // $padding_low, $padding_high, $padding_interior
          CompileTimeConstantOperand<TF::XlaPadOp, 2, 3, 4>,
          // $window_dimensions, $window_strides, $base_dilations,
          // $window_dilations, $padding
          CompileTimeConstantOperand<TF::XlaReduceWindowOp, 2, 3, 4, 5, 6>,
          // $dim_index
          CompileTimeConstantOperand<TF::XlaRemoveDynamicDimensionSizeOp, 1>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir

    //CHECK-NEXT: return %0 : tensor<2xf32>
    //CHECK-NEXT:}
    
    func.func @reduce_window(%arg0: tensor<1x160x1xf32>, %arg1: tensor<f32>) -> tensor<1x160x1xf32> {
      %0 = "vhlo.reduce_window_v1"(%arg0, %arg1) <{base_dilations = #vhlo.tensor_v1<dense<1> : tensor<3xi64>>,
            padding = #vhlo.tensor_v1<dense<[[0, 0], [159, 0], [0, 0]]> : tensor<3x2xi64>>,
            window_dilations = #vhlo.tensor_v1<dense<1> : tensor<3xi64>>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      DenseElementsAttr window_dimensions, window_strides, base_dilations,
          window_dilations, padding;
      if (input_ty.hasStaticShape() &&
          matchPattern(op.getWindowDimensions(), m_Constant(&window_dimensions)) &&
          matchPattern(op.getWindowStrides(), m_Constant(&window_strides)) &&
          matchPattern(op.getBaseDilations(), m_Constant(&base_dilations)) &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        DenseElementsAttr window_dimensions, window_strides, base_dilations,
            window_dilations, padding;
        if (!(matchPattern(op.getWindowDimensions(),
                           m_Constant(&window_dimensions)) &&
              matchPattern(op.getWindowStrides(), m_Constant(&window_strides)) &&
              matchPattern(op.getBaseDilations(), m_Constant(&base_dilations)) &&
              matchPattern(op.getWindowDilations(),
    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