code: def export_resize_tf_crop_and_resize_axes_3_2() -> None:
      axes = [3, 2]
      node = onnx.helper.make_node(
          "Resize",
          inputs=["X", "roi", "", "sizes"],
          outputs=["Y"],
          mode="linear",
          coordinate_transformation_mode="tf_crop_and_resize",
          axes=axes,
      )
  
      data = np.array(
          [
              [
                  [
                      [1, 2, 3, 4],
                      [5, 6, 7, 8],
                      [9, 10, 11, 12],
                      [13, 14, 15, 16],
                  ]
              ]
          ],
          dtype=np.float32,
      )
  
      # Note: for some rois, the result may be different with that of TF for inaccurate floating point
      roi = np.array([0.6, 0.4, 0.8, 0.6], dtype=np.float32)
      sizes = np.array([3, 3], dtype=np.int64)
  
      # [[[[ 7.6000004  7.9        8.2      ]
      #    [ 8.8        9.1        9.400001 ]
      #    [10.        10.3       10.6      ]]]]
      output = interpolate_nd(
          data,
          lambda x, _: linear_coeffs(x),
          output_size=sizes,
          roi=roi,
          axes=axes,
          coordinate_transformation_mode="tf_crop_and_resize",
      ).astype(np.float32)
  
      expect(
          node,
          inputs=[data, roi, sizes],
          outputs=[output],
          name="test_resize_tf_crop_and_resize_axes_3_2",
      )
  
imports: import numpy
  import onnx
  from onnx.backend.test.case.base import Base
  from onnx.backend.test.case.node import expect
  from onnx.reference.ops.op_resize import _cubic_coeffs
  from onnx.reference.ops.op_resize import _cubic_coeffs_antialias
  from onnx.reference.ops.op_resize import _interpolate_nd
  from onnx.reference.ops.op_resize import _linear_coeffs
  from onnx.reference.ops.op_resize import _linear_coeffs_antialias
  from onnx.reference.ops.op_resize import _nearest_coeffs
label_desc: Use image node_id 33 for calling the Resize obj's underlying member method code with example usage: obj.export_resize_tf_crop_and_resize_axes_3_2() without return types