Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for window_strides (0.28 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions_simple.td

      (StableHLO_ConvolutionOp:$res $lhs, $rhs, $window_strides, $padding,
          $lhs_dilation, $rhs_dilation, $window_reversal, $dimension_numbers,
          $feature_group_count, $batch_group_count, $precision_config),
      (LiftAsTFXlaCallModule<"composite_conv_fn">
        (ArgumentList $lhs, $rhs),
        (ResultList $res),
        (NamedAttributeList
          (NamedAttr<"window_strides"> (DefaultOrNullAttr $window_strides)),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:21:42 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions_fusion.td

        (StableHLO_ConvolutionOp $lhs, $rhs, $window_strides, $padding,
            $lhs_dilation, $rhs_dilation, $window_reversal, $dimension_numbers,
            $feature_group_count, $batch_group_count, $precision_config),
        $bias),
      (LiftAsTFXlaCallModule<"composite_conv_with_bias_same_shape_fn">
        (ArgumentList $lhs, $rhs, $bias),
        (ResultList $res),
        (NamedAttributeList
          (NamedAttr<"window_strides"> (DefaultOrNullAttr $window_strides)),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. 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
    // permutated to match the new input shape.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 20:32:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/tests/optimize_layout.mlir

    // CHECK:           %[[REDUCE:.*]] = "stablehlo.reduce_window"(%[[INPUT]], %[[PAD_VAL]])
    // CHECK:               <{window_dimensions = array<i64: 1, 3, 3, 1>,
    // CHECK:                 window_strides = array<i64: 1, 2, 2, 1>}> ({
    // CHECK:           ^bb0(%[[ARG0:.*]]: tensor<f32>, %[[ARG1:.*]]: tensor<f32>):
    // CHECK:             %[[MAX:.*]] = stablehlo.maximum %[[ARG0]], %[[ARG1]] : tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

      }
      if (const auto* op = op_union.AsStablehloConvolutionOptions()) {
        if (!(op->window_strides.empty())) {
          std::vector<int64_t> shape;
          shape.push_back(static_cast<int64_t>(op->window_strides.size()));
          attributes.emplace_back(builder.getNamedAttr(
              "window_strides",
              BuildVhloTensorV1Attr(shape, op->window_strides, 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)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

          // $broadcast_dims
          CompileTimeConstantOperand<TF::XlaBroadcastHelperOp, 2>,
          // $window_strides, $padding, $lhs_dilation, $rhs_dilation,
          // $feature_group_count
          CompileTimeConstantOperand<TF::XlaConvOp, 2, 3, 4, 5, 6>,
          // $window_strides, $padding, $lhs_dilation, $rhs_dilation,
          // $feature_group_count
          CompileTimeConstantOperand<TF::XlaConvV2Op, 2, 3, 4, 5, 6>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc

      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)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/nchw_convolution_to_nhwc.cc

            mlir::cast<TensorType>(op->getResult(0).getType());
        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)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        std::string* padding_mode, std::string* data_format) {
      // tf.max_pool or tf.avg_pool need at least 3 dimensions (batch, spatial,
      // channel).
      const uint64_t rank = rw.getWindowDimensions().size();
      if (rank <= 3 || rank > 5) return false;
    
      if (rw.getWindowStrides().has_value()) {
        window_strides->insert(window_strides->end(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

        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>
      } : (tensor<16x32x256xbf16>, tensor<1x256x256xbf16>) -> tensor<16x32x256xbf16>
      func.return %0 : tensor<16x32x256xbf16>
    }
    
    // CHECK-LABEL:   func.func @convert_conv1d_dynamic_batch(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
Back to top