Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 209 for Tpaddings (0.27 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

            elif self.same_scale_op == 'max_pool':
              out = nn_ops.max_pool(out, ksize=3, strides=1, padding='SAME')
            elif self.same_scale_op == 'pad':
              paddings = array_ops.ones(
                  (array_ops.rank(out), 2), dtype=dtypes.int32
              )
              out = array_ops.pad(out, paddings, 'CONSTANT')
            elif self.same_scale_op == 'reshape':
              out = array_ops.reshape(out, [-1])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/dilated-conv.mlir

      // CHECK-NEXT: return [[RESULT]] : tensor<1x128x128x8xf32>
    }
    
    func.func @testDilatedConvWithFp16(%arg0 : tensor<1x20x30x40xf16>, %arg1: tensor<5x5x40x32xf16>) -> tensor<1x20x30x32xf16> {
      %block_shape = arith.constant dense<2> : tensor<2xi32>
      %paddings = arith.constant dense<4> : tensor<2x2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 44.7K bytes
    - Viewed (0)
  8. tensorflow/cc/gradients/array_grad_test.cc

      auto paddings = Const(scope_, {{1, 1}, {2, 2}});
      TensorShape y_shape({4, 7});
      auto y = Pad(scope_, x, paddings);
      RunTest(x, x_shape, y, y_shape);
    }
    
    TEST_F(ArrayGradTest, SpaceToBatchGrad) {
      TensorShape x_shape({1, 2, 2, 1});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape));
      auto paddings = Const(scope_, {{1, 1}, {1, 1}});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  9. tensorflow/cc/gradients/nn_grad.cc

      string data_format;
      string padding;
      auto attrs = op.output(0).node()->attrs();
      TF_RETURN_IF_ERROR(GetNodeAttr(attrs, "data_format", &data_format));
      TF_RETURN_IF_ERROR(GetNodeAttr(attrs, "padding", &padding));
      auto dx = MaxPoolGradV2(scope, op.input(0), op.output(0), grad_inputs[0],
                              op.input(1), op.input(2), padding,
                              MaxPoolGradV2::DataFormat(data_format));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 23:34:33 UTC 2022
    - 24.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.td

        $explicit_paddings, IsDataFormatNHWC:$data_format, $dilations),
      (LiftAsTFPartitionedCall<"composite_conv2d_fn">
        (ArgumentList $input, $filter),
        (ResultList $res),
        (NamedAttributeList
          (NamedAttr<"strides"> $strides),
          (NamedAttr<"use_cudnn_on_gpu"> $use_cudnn_on_gpu),
          (NamedAttr<"padding"> $padding),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 15.6K bytes
    - Viewed (0)
Back to top