Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 507 for Tpaddings (0.16 sec)

  1. tensorflow/compiler/mlir/tfr/examples/pad/ops_defs.py

    
    @Composite(
        'NewMirrorPad',
        inputs=['input_: T', 'paddings: Tpaddings'],
        attrs=['mode: {"REFLECT", "SYMMETRIC"}'],
        derived_attrs=['T: type', 'Tpaddings: {int32, int64} = DT_INT32'],
        outputs=['output: T'])
    def _composite_mirror_pad(input_, paddings, mode):
      shape = input_.shape.as_list()
      for i in range(len(shape)):
        rdims = tf.raw_ops.OneHot(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 01 05:00:29 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    `paddings` you specify. `paddings` must be the same as `paddings` argument
    given to the corresponding `MirrorPad` op.
    
    The folded size of each dimension D of the output is:
    
    `input.dim_size(D) - paddings(D, 0) - paddings(D, 1)`
    
    For example:
    
    ```
    # 't' is [[1, 2, 3], [4, 5, 6], [7, 8, 9]].
    # 'paddings' is [[0, 1]], [0, 1]].
    # 'mode' is SYMMETRIC.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/layout_optimization_to_nhwc.mlir

      // Pad spatial dimensions.
      %4 = "tf.Pad"(%3, %0) : (tensor<?x3x224x224xf32>, tensor<4x2xi32>) -> tensor<?x3x230x230xf32>
    
      // Shuffled paddings.
      // CHECK: %[[PADDINGS:.*]] = "tf.Const"(){{.*}}[0, 0], [3, 3], [3, 3], [0, 0]
      // NOFOLD: %[[PADDING:.*]] = "tf.Const"(){{.*}}[0, 0], [0, 0], [3, 3], [3, 3]
      // NOFOLD: %[[CST:.*]] = "tf.Const"() <{value = dense<[0, 3, 1, 2]> : tensor<4xi32>}> : () -> tensor<4xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/dilated_conv.h

      // it's a constant. Basically, `paddings` tensor in `SpaceToBatch` and `crops`
      // tensor  in `BatchToSpace` must satisfy the following:
      //  paddings[i, 0] = base_paddings[i, 0].
      //  0 <= paddings[i, 1] - base_paddings[i, 1] < block_shape[i]
      // (input_shape[i] + paddings[i, 0] + paddings[i, 1]) % block_shape[i] == 0.
      //  crops[i, 0] = 0.
      //  crops[i, 1] = paddings[i, 1] - base_paddings[i, 1].
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. api/go1.12.txt

    pkg syscall (freebsd-386), type Stat_t struct, Mtim_ext int32
    pkg syscall (freebsd-386), type Stat_t struct, Nlink uint64
    pkg syscall (freebsd-386), type Stat_t struct, Padding0 int16
    pkg syscall (freebsd-386), type Stat_t struct, Padding1 int32
    pkg syscall (freebsd-386), type Stat_t struct, Rdev uint64
    pkg syscall (freebsd-386), type Stat_t struct, Spare [10]uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 02 21:21:53 UTC 2019
    - 13.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

                  IsIntList1XY1:$ksize,
                  IsIntList1XY1:$strides,
                  $padding,
                  IsDataFormatNHWC:$format),
              (TFL_AveragePool2DOp $value,
                  /*filter_height=*/ExtractI32At<1>:$ksize,
                  /*filter_width=*/ExtractI32At<2>:$ksize,
                  /*padding=*/$padding,
                  /*stride_h=*/ExtractI32At<1>:$strides,
                  /*stride_w=*/ExtractI32At<2>:$strides,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

          CompileTimeConstantOperand<TF::MeanOp, 1>,           // $reduction_indices
          CompileTimeConstantOperand<TF::MirrorPadGradOp, 1>,  // $paddings
          CompileTimeConstantOperand<TF::MirrorPadOp, 1>,      // $paddings
          CompileTimeConstantOperand<TF::MultinomialOp, 1>,    // $num_samples
          // $max_output_size
          CompileTimeConstantOperand<TF::NonMaxSuppressionV3Op, 2>,
    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/tf2xla/transforms/legalize_tf.cc

        ArrayAttr window_strides, StringRef padding, Builder *builder) {
      if (padding == "VALID") return {};
      assert(padding == "SAME");
      PaddingArray paddings = GetReduceWindowPaddingAsArray<num_dims>(
          input_dims, window_dims, window_strides, padding, builder);
      int64_t rank = paddings.size();
      llvm::SmallVector<int64_t, num_dims * 2> flatten_paddings(rank * 2);
    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/tensorflow/tests/tf-ops.mlir

      %paddings = "tf.Const"() {value = dense<[[1, 2], [1, 2]]> : tensor<2x2xi64>} : () -> tensor<2x2xi64>
      // expected-error @+1 {{requires block_shape[i] divides input_shape[i + 1] + paddings[i, 0] + paddings[i, 1]; failed for i=1}}
      %1 = "tf.SpaceToBatchND"(%input, %block_shape, %paddings) : (tensor<3x5x7x10xf32>, tensor<2xi64>, tensor<2x2xi64>) -> tensor<36x2x3x10xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc

      // Calculate paddings.
      int32_t pad_total = kernel_size - 1;
      int32_t pad_beg = (pad_total / 2 + 1) / block_size;
      int32_t pad_end = (pad_total / 2) / block_size;
      SmallVector<int32_t, 8> values = {0,       0,       pad_beg, pad_end,
                                        pad_beg, pad_end, 0,       0};
      auto paddings = DenseIntElementsAttr::get(padding_type, values);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 29.3K bytes
    - Viewed (0)
Back to top