class_docstr: Simple wrapper of the public image models with session object.
class_docstr_tok: ["Simple","wrapper","of","the","public","image","models","with","session","object","."]
docstr: Create input tensor.
code: def create_input(t_input, image_value_range):
      """Create input tensor."""
  
      def forget_xy(t):
          """Forget sizes of dimensions [1, 2] of a 4d tensor."""
          zero = tf.identity(0)
          return t[:, zero:, zero:, :]
  
      t_prep_input = t_input
      if len(t_prep_input.shape) == 3:
          t_prep_input = tf.expand_dims(t_prep_input, 0)
      t_prep_input = forget_xy(t_prep_input)
      lo, hi = image_value_range
      t_prep_input = lo + t_prep_input * (hi - lo)
      return t_input, t_prep_input
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from abc import ABCMeta
  from abc import abstractmethod
  from six.moves import zip
  import numpy
  import six
  import tensorflow
  from google.protobuf import text_format
label_desc: Use image node_id 4 for calling the PublicImageModelWrapper obj's underlying member method code with example usage: obj.create_input(t_input, image_value_range) and returns: t_input,  t_prep_input, t