Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for resize_bilinear (0.2 sec)

  1. tensorflow/cc/gradients/image_grad_test.cc

    }
    
    TEST_F(ImageGradTest, TestBilinear) {
      TestResizedShape(RESIZE_BILINEAR);
      TestResize<float, float, float>(RESIZE_BILINEAR);
      // Note that Y_T is always float for this op. We choose
      // double for the jacobian to capture the higher precision
      // between X_T and Y_T.
      TestResize<double, float, double>(RESIZE_BILINEAR);
    }
    
    TEST_F(ImageGradTest, TestBicubic) {
      TestResizedShape(RESIZE_BICUBIC);
    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/compiler/mlir/lite/tests/flatbuffer2mlir/test_schema.fbs

      // since different model developers use RELU1 in different ways. Never
      // create another op called RELU1.
      RELU_N1_TO_1 = 20,
      RELU6 = 21,
      RESHAPE = 22,
      RESIZE_BILINEAR = 23,
      RNN = 24,
      SOFTMAX = 25,
      SPACE_TO_DEPTH = 26,
      SVDF = 27,
      TANH = 28,
      CONCAT_EMBEDDINGS = 29,
      SKIP_GRAM = 30,
      CALL = 31,
      CUSTOM = 32,
      EMBEDDING_LOOKUP_SPARSE = 33,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 19 19:46:06 UTC 2021
    - 26.1K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs

      // since different model developers use RELU1 in different ways. Never
      // create another op called RELU1.
      RELU_N1_TO_1 = 20,
      RELU6 = 21,
      RESHAPE = 22,
      RESIZE_BILINEAR = 23,
      RNN = 24,
      SOFTMAX = 25,
      SPACE_TO_DEPTH = 26,
      SVDF = 27,
      TANH = 28,
      CONCAT_EMBEDDINGS = 29,
      SKIP_GRAM = 30,
      CALL = 31,
      CUSTOM = 32,
      EMBEDDING_LOOKUP_SPARSE = 33,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/schema/schema.fbs

      // since different model developers use RELU1 in different ways. Never
      // create another op called RELU1.
      RELU_N1_TO_1 = 20,
      RELU6 = 21,
      RESHAPE = 22,
      RESIZE_BILINEAR = 23,
      RNN = 24,
      SOFTMAX = 25,
      SPACE_TO_DEPTH = 26,
      SVDF = 27,
      TANH = 28,
      CONCAT_EMBEDDINGS = 29,
      SKIP_GRAM = 30,
      CALL = 31,
      CUSTOM = 32,
      EMBEDDING_LOOKUP_SPARSE = 33,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/ops.mlir

    // -----
    
    // CHECK-LABEL: testResizeBilinear
    func.func @testResizeBilinear(%arg0 : tensor<1x100x100x3xf32>, %arg1 : tensor<4xi32>) -> tensor<?xf32> {
      // CHECK: "tfl.resize_bilinear"(%arg0, %arg1) <{align_corners = false, half_pixel_centers = false}>
      %0 = "tfl.resize_bilinear"(%arg0, %arg1) {align_corners = false, half_pixel_centers = false} : (tensor<1x100x100x3xf32>, tensor<4xi32>) -> tensor<?xf32>
      func.return %0 : tensor<?xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    func.func @resize_with_bilinear(%arg0: tensor<1x100x100x3xf32>, %arg1: tensor<4xi32>) -> tensor<?xf32> {
      %0 = "tf.ResizeBilinear"(%arg0, %arg1) {align_corners = true} : (tensor<1x100x100x3xf32>, tensor<4xi32>) -> tensor<?xf32>
      func.return %0 : tensor<?xf32>
      // CHECK-LABEL: resize_with_bilinear
      // CHECK: "tfl.resize_bilinear"(%arg0, %arg1) <{align_corners = true, half_pixel_centers = false}> : (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)
  8. 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>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 18:33:43 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.h

    namespace odml {
    
    // Adds all the necessary passes to lower a TF module to StableHLO.
    // `skip_resize` enables or disables skipping conversion of tf.ResizeBilinear
    // and tf.ResizeNearestNeighbor ops.
    // `smuggle_disallowed_ops` enables or disables converting disallowed ops
    // like tf.ResizeBilinear or tf.ResizeNearestNeighbor to mhlo.custom_call ops.
    void AddTFToStablehloPasses(OpPassManager& pm, bool skip_resize,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 01:08:27 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/tests/tfl_legalize_hlo_custom_call.mlir

    func.func @mhlo_custom_call_does_not_legalize_tf_function(%arg0: tensor<1x4xf32>) -> tensor<1x8xf32> {
      %0 = mhlo.custom_call @tf.ResizeBilinear(%arg0) {
        backend_config = "this_is_a_test_string"
      } : (tensor<1x4xf32>) -> (tensor<1x8xf32>)
      func.return %0 : tensor<1x8xf32>
    
      //       CHECK: %0 = mhlo.custom_call @tf.ResizeBilinear(%arg0) {
      //  CHECK-SAME:   backend_config = "this_is_a_test_string"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top