Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for half_pixel_centers (0.43 sec)

  1. tensorflow/cc/gradients/image_grad_test.cc

                                    .HalfPixelCenters(half_pixel_centers));
            return;
          case RESIZE_BICUBIC:
            *y = ResizeBicubic(scope_, *x, y_shape,
                               ResizeBicubic::AlignCorners(align_corners)
                                   .HalfPixelCenters(half_pixel_centers));
            return;
        }
        assert(false);
      }
    
      template <typename T>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 15 04:08:05 UTC 2019
    - 12.1K bytes
    - Viewed (0)
  2. tensorflow/cc/gradients/image_grad.cc

      bool half_pixel_centers;
      TF_RETURN_IF_ERROR(GetNodeAttr(op.node()->attrs(), "half_pixel_centers",
                                     &half_pixel_centers));
      grad_outputs->push_back(internal::ResizeBilinearGrad(
          scope, grad_inputs[0], op.input(0),
          internal::ResizeBilinearGrad::AlignCorners(align_corners)
              .HalfPixelCenters(half_pixel_centers)));
      grad_outputs->push_back(NoGradient());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 11 00:29:23 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/tests/odml-to-stablehlo-smuggle-resize.mlir

          // CHECK: %{{.*}} = stablehlo.custom_call @tf.ResizeBilinear(%arg0, %{{.*}}) {align_corners = false, device = "", half_pixel_centers = true} : (tensor<1x32x32x128xf32>, tensor<2xi32>) -> tensor<1x64x64x128xf32>
          // CHECK-OPT: %{{.*}} = stablehlo.custom_call @tf.ResizeBilinear(%arg0, %cst) {align_corners = false, device = "", half_pixel_centers = true} : (tensor<1x32x32x128xf32>, tensor<2xi32>) -> tensor<1x64x64x128xf32>
          %1 = "tf.ResizeBilinear"(%arg0, %0) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 18:33:43 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/tests/odml-to-stablehlo-allow-tf.mlir

          %c = stablehlo.constant dense<40> : tensor<2xi32>
          %0 = "tf.UnconvertedOp"(%arg0, %c) {align_corners = false, half_pixel_centers = false} : (tensor<1x20x20x28xf32>, tensor<2xi32>) -> tensor<1x40x40x28xf32>
          func.return %0 : tensor<1x40x40x28xf32>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 18:33:43 UTC 2024
    - 914 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo_custom_call.mlir

        operand_layouts = #vhlo.array_v1<[]>,
        output_operand_aliases = #vhlo.array_v1<[]>,
        result_layouts = #vhlo.array_v1<[]>}> {align_corners = #vhlo.bool_v1<true>, device = #vhlo.string_v1<"">, half_pixel_centers = #vhlo.bool_v1<false>} : (tensor<1x320x1x1xf32>, tensor<2xi32>) -> tensor<1x1600x1x1xf32>
      return %0 : tensor<1x1600x1x1xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/smuggle_disallowed_ops.cc

    namespace {
    
    // Convert op to stablehlo.custom_call
    //   "tf.ResizeBilinear"(%341, %138) {
    //      align_corners = false, device = "", half_pixel_centers = true}
    //   ==>
    //   stablehlo.custom_call @tf.ResizeBilinear(%arg0, %arg1) {
    //      align_corners = false, device = "", half_pixel_centers = true}
    LogicalResult SmuggleOp(Operation* op, PatternRewriter& rewriter) {
      auto call_target =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 01:14:04 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/tests/tf-tfl-translate-serialize-stablehlo-resize-bilinear.mlir

    
    module {
    func.func @main(%arg0: tensor<21x32x32x128xf32>, %arg1: tensor<2xi32>) -> tensor<1x64x64x128xf32> {
      %0 = "tf.ResizeBilinear"(%arg0, %arg1) {align_corners = false, device = "", half_pixel_centers = true} : (tensor<21x32x32x128xf32>, tensor<2xi32>) -> tensor<1x64x64x128xf32>
      func.return %0 : tensor<1x64x64x128xf32>
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 06:04:37 UTC 2023
    - 455 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

      (TF_ResizeBilinearOp $images, $size, $align_corners, $half_pixel_centers),
      (TFL_ResizeBilinearOp $images, $size, $align_corners, $half_pixel_centers)>;
    def LegalizeResizeNearestNeighbor : Pat<
      (TF_ResizeNearestNeighborOp $images, $size, $align_corners,
        $half_pixel_centers),
      (TFL_ResizeNearestNeighborOp $images, $size, $align_corners,
        $half_pixel_centers)>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/tests/composite-lowering.mlir

    // CHECK-DAG:           %[[VAL_3:.*]] = arith.constant dense<32> : tensor<2xi32>
    // CHECK-DAG:           %[[VAL_4:.*]] = "tfl.resize_bilinear"(%[[VAL_2]], %[[VAL_3]]) <{align_corners = false, half_pixel_centers = true}> : (tensor<1x16x16x64xf32>, tensor<2xi32>) -> tensor<1x32x32x64xf32>
    // CHECK-DAG:           %[[VAL_5:.*]] = arith.constant dense<[0, 3, 1, 2]> : tensor<4xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs

    }
    
    table ResizeBilinearOptions {
      new_height: int (deprecated);
      new_width: int (deprecated);
      align_corners: bool;
      half_pixel_centers: bool;
    }
    
    table ResizeNearestNeighborOptions {
      align_corners: bool;
      half_pixel_centers: bool;
    }
    
    // A call operation options
    table CallOptions {
      // The subgraph index that needs to be called.
      subgraph:uint;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
Back to top