class_docstr: Resizes image so that min side is of provided size.
code: def __init__(self, size, max_size=None):
      assert isinstance(size, int)
      self.size = tf.constant(size, dtype=tf.int32)
      self.max_size = max_size
  
imports: from typing import Any, Dict
  import tensorflow
label_desc: Use image node_id 1 to create a new Resize object  with example: obj = Resize(size, max_size)