code: def rescale_tensorflow(
      x: ep.TensorFlowTensor, target_shape: List[int]
  ) -> ep.TensorFlowTensor:
      import tensorflow
  
      img = x.raw
  
      img_resized = tensorflow.image.resize(
          img, size=target_shape[1:-1]
      )
  
      return ep.TensorFlowTensor(img_resized)
  
imports: from typing import Union, List, Tuple
  import eagerpy
label_desc: Use image node_id 3 for calling a global function with example usage: rescale_tensorflow(x, target_shape) and returns: ep