Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for window_dimensions (1.01 sec)

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

    // CHECK: <{window_dimensions = array<i64: 1, 2, 2, 1>, window_strides = array<i64: 1, 2, 2, 1>}>
    // CHECK: ^bb0(%[[REDUCE_ARG_0:.+]]: tensor<f32>, %[[REDUCE_ARG_1:.+]]: tensor<f32>):
    // CHECK: %[[MAX:.+]] = stablehlo.maximum %[[REDUCE_ARG_0]], %[[REDUCE_ARG_1]]
    // CHECK: stablehlo.return %[[MAX]]
    
    // Check that the attributes window_dimensions & window_strides are also
    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/mlir/quantization/stablehlo/tests/passes/quantize/quantize_op_with_region.mlir

        // CHECK: %[[REDUCE:.*]] = "stablehlo.reduce_window"(%[[CALL]], %[[Q0]])
        // CHECK{LITERAL}: padding = dense<[[0, 0], [1, 1], [1, 1], [0, 0]]> : tensor<4x2xi64>
        // CHECK-SAME: window_dimensions = array<i64: 1, 3, 3, 1>
        // CHECK: %[[ARG1:.*]]: tensor<!quant.uniform<i8:f32, 3.000000e-01:1>>, %[[ARG2:.*]]: tensor<!quant.uniform<i8:f32, 3.000000e-01:1>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 20:32:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc

        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;
      if (op_name == "stablehlo.slice" &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 06:08:43 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

        return;
      }
      if (const auto* op = op_union.AsStablehloReduceWindowOptions()) {
        if (!op->window_dimensions.empty()) {
          attributes.emplace_back(builder.getNamedAttr(
              "window_dimensions",
              BuildVhloTensorV1Attr(
                  {static_cast<int64_t>(op->window_dimensions.size())},
                  op->window_dimensions, builder)));
        }
        if (!op->window_strides.empty()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/tests/pipelines/process_nchw_tensor.mlir

      %4 = "stablehlo.reduce_window"(%3, %5) ({  // max pool
      ^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>
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 20:32:46 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/tests/composite-lowering.mlir

        mhlo.return %7 : tensor<f32>
      }) {window_dimensions = dense<[1, 1, 3, 3]> : tensor<4xi64>} : (tensor<1x3x6x6xf32>, tensor<f32>) -> tensor<1x3x4x4xf32>
      %4 = "mhlo.reduce_window"(%1, %2) ({
      ^bb0(%arg1: tensor<f32>, %arg2: tensor<f32>):
        %7 = mhlo.add %arg1, %arg2 : tensor<f32>
        mhlo.return %7 : tensor<f32>
      }) {window_dimensions = dense<3> : tensor<2xi64>} : (tensor<6x6xf32>, tensor<f32>) -> tensor<4x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

          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>,
          // $window_dimensions, $window_strides, $padding
    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/quantization/stablehlo/passes/defer_activation_transpose.cc

        auto new_reduce_window_op =
            rewriter.create<mlir::stablehlo::ReduceWindowOp>(
                op.getLoc(), new_result_type, transpose_op.getOperand(),
                /*init_value=*/op.getOperand(1),
                /*window_dimensions=*/
                PermuteI64ArrayAttr(rewriter, op.getWindowDimensions(),
                                    kNchwToNhwcPermutation),
                /*window_strides=*/
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir

            padding = #vhlo.tensor_v1<dense<[[0, 0], [159, 0], [0, 0]]> : tensor<3x2xi64>>,
            window_dilations = #vhlo.tensor_v1<dense<1> : tensor<3xi64>>,
            window_dimensions = #vhlo.tensor_v1<dense<[1, 160, 1]> : tensor<3xi64>>,
            window_strides = #vhlo.tensor_v1<dense<1> : tensor<3xi64>>}> ({
        ^bb0(%arg23: tensor<f32>, %arg24: tensor<f32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/schema/schema.fbs

      rhs_batching_dimensions : [long];
      lhs_contracting_dimensions : [long];
      rhs_contracting_dimensions : [long];
      precision_config : [StablehloPrecisionConfig];
    }
    
    table StablehloReduceWindowOptions{
      window_dimensions : [long];
      window_strides : [long];
      base_dilations : [long];
      window_dilations : [long];
      padding : [long];
      body_subgraph_index : int;
    }
    
    table StablehloWhileOptions{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
Back to top