code: def _to_zoo_input(self, input, is_constant=None):
      is_parameter = True if input.name in self._initializer else False
      if isinstance(input.zvalue, zautograd.Variable) or isinstance(
          input.zvalue, zautograd.Parameter
      ):
          return input
      if isinstance(input.zvalue, np.ndarray):
          if is_parameter or is_constant:
              shape = input.zvalue.shape
          else:
              shape = input.zvalue.shape[1:]
      elif isinstance(input.zvalue, list):
          if is_parameter or is_constant:
              shape = input.zvalue
          else:
              shape = input.zvalue[1:]
      else:
          raise Exception(
              "not supported type " + str(type(input.zvalue))
          )
  
      input.data = input.zvalue
      if is_constant:
          input.zvalue = zautograd.Parameter(
              shape=shape, init_weight=input.zvalue, trainable=False
          )
      elif is_parameter:
          input.zvalue = zautograd.Parameter(
              shape=shape,
              init_weight=input.zvalue,
          )
      else:
          input.zvalue = zlayers.Input(shape=shape, name=input.name)
      return input
  
file_path: analytics-zoo/pyzoo/zoo/pipeline/api/onnx/mapper/operator_mapper.py
imports: import zoo.pipeline.api.keras.layers
  import zoo.pipeline.api.autograd
  from zoo.pipeline.api.onnx.onnx_helper import OnnxHelper
  import zoo.pipeline.api.onnx.mapper
  import importlib
  import numpy
label_desc: Use image node_id 3 for calling the OperatorMapper obj's underlying member method code with example usage: obj._to_zoo_input(input, is_constant) and returns: input, input