Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for half_pixel_centers (0.24 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/lite/schema/schema.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: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

      // CHECK: "tfl.resize_bilinear"(%arg0, %arg1) <{align_corners = true, half_pixel_centers = false}> : (tensor<1x100x100x3xf32>, tensor<4xi32>) -> tensor<?xf32>
    }
    
    func.func @resize_with_bilinear_with_half_pixel_centers(%arg0: tensor<1x100x100x3xf32>, %arg1: tensor<4xi32>) -> tensor<?xf32> {
      %0 = "tf.ResizeBilinear"(%arg0, %arg1) {align_corners = false, half_pixel_centers = true} : (tensor<1x100x100x3xf32>, tensor<4xi32>) -> tensor<?xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

                                      rewriter.getI32Type()),
                output_sizes));
        // The value of half_pixel_centers couldn't be inferred from the IR and XLA
        // only support half_pixel_centers=True as in 01/11/2022. Here
        // half_pixel_centers=False is hardcoded.
        Value output = rewriter.create<TF::ResizeBilinearOp>(
            conv_op.getLoc(), conv_op.getType(), conv_op.getLhs(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
Back to top