Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for kSize2 (0.26 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

              rewriter.getI64ArrayAttr(kstrides), rewriter.getStringAttr(padding),
              rewriter.getStringAttr(data_format));
          return success();
        } else if (ksizes.size() == 5) {
          rewriter.replaceOpWithNewOp<TF::AvgPool3DOp>(
              op, op.getType(), input, rewriter.getI64ArrayAttr(ksizes),
              rewriter.getI64ArrayAttr(kstrides), rewriter.getStringAttr(padding),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

      // OK
      %0 = "tf.AvgPool"(%arg0) {T = "tfdtype$DT_FLOAT", data_format = "NHWC", ksize = [1, 3, 6, 1], padding = "VALID", strides = [1, 3, 1, 1]} : (tensor<1x6x6x16xf32>) -> tensor<1x1x1x16xf32>
      // Unsupported ksize
      %1 = "tf.AvgPool"(%arg0) {T = "tfdtype$DT_FLOAT", data_format = "NHWC", ksize = [3, 3, 6, 1], padding = "VALID", strides = [1, 3, 1, 1]} : (tensor<1x6x6x16xf32>) -> tensor<1x1x1x16xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      func.return %0 : tensor<1x1x1x16xf32>
    }
    
    // -----
    
    func.func @testAvgPoolNoKsize(tensor<1x7x7x16xf32>) -> tensor<1x1x1x16xf32> {
    ^bb0(%arg0: tensor<1x7x7x16xf32>):
      // expected-error @+1 {{requires attribute 'ksize'}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    LogicalResult MaxPoolOp::FoldOperandsPermutation(
        ArrayRef<int64_t> permutation) {
      return ::mlir::TF::FoldOperandsPermutation(
          permutation, this, {{"strides", getStrides()}, {"ksize", getKsize()}});
    }
    
    LogicalResult MaxPoolOp::UpdateDataFormat(StringRef new_data_format) {
      StringRef src_data_format = getDataFormat();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
Back to top