Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for window_dimensions (0.2 sec)

  1. 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)
  2. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/prepare_quantize/prepare_quantize.mlir

      ^bb0(%arg1: tensor<f32>, %arg2: tensor<f32>):
        %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)
  3. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

    func.func @maxpool_valid_padding(%arg0: tensor<2x12x20x7xi32>) -> tensor<2x3x5x7xi32> {
      // CHECK: %[[INIT:.*]] = mhlo.constant dense<-2147483648> : tensor<i32>
      // CHECK: "mhlo.reduce_window"(%[[ARG]], %[[INIT]])
      // CHECK: <{window_dimensions = dense<[1, 2, 2, 1]> : tensor<4xi64>, window_strides = dense<[1, 4, 4, 1]> : tensor<4xi64>}>
      // CHECK: mhlo.maximum
      // CHECK: mhlo.return
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

          "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>,
        window_strides = dense<[1, 2, 2, 1]> : tensor<4xi64>} : (tensor<4x16x16x8xf32>, tensor<f32>) -> tensor<4x7x7x8xf32>
      %3 = mhlo.divide %2, %1 : tensor<4x7x7x8xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        for (int64_t i = 0, e = window_dimensions.size(); i < e; ++i) {
          int64_t window_dimension = window_dimensions.getValues<int64_t>()[i];
          if (window_dimension == 1) continue;
          // Cumulative axis already set.
          if (cumulative_axis != -1) return failure();
          // Potential cumulative axis is not the right size.
          if (window_dimension != operand_type.getShape()[i]) return failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

                                    PatternRewriter &rewriter) const override {
        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)) &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

        %1 = stablehlo.maximum %arg2, %arg3 : tensor<!quant.uniform<i8:f32, 3.000000e-01:-5>>
        stablehlo.return %1 : tensor<!quant.uniform<i8:f32, 3.000000e-01:-5>>
      }) {window_dimensions = array<i64: 1, 3, 4, 1>, window_strides = array<i64: 1, 2, 3, 1>} : (tensor<2x9x10x3x!quant.uniform<i8:f32, 3.000000e-01:-5>>, tensor<!quant.uniform<i8:f32, 3.000000e-01:-5>>) -> tensor<2x4x3x3x!quant.uniform<i8:f32, 3.000000e-01:-5>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      uint32_t opcode_index =
          GetOpcodeIndex(op_name, tflite::BuiltinOperator_STABLEHLO_REDUCE_WINDOW);
    
      auto wd = reduce_window_op.getWindowDimensions();
      auto window_dimensions =
          builder_.CreateVector(std::vector<int64_t>(wd.begin(), wd.end()));
      auto window_strides = builder_.CreateVector(
          mlir::GetOptionalVector<int64_t>(reduce_window_op.getWindowStrides()));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top