(inp)
return tf.nest.map_structure(_canonicalize_jit_arg, inp)
Canonicalize arguments to be used for jit.

  Args:
    inp: a nested structure of arguments to be canonicalized (i.e. to be
      converted to Tensors). Only tf_np.ndarray and things accepted by
      `tf.convert_to_tensor` will be converted.

  Returns:
    The canonicalized version.
Canonicalize arguments to be used for jit.
Canonicalize arguments to be used for jit .
def _canonicalize_jit_arguments(inp):
  """Canonicalize arguments to be used for jit.

  Args:
    inp: a nested structure of arguments to be canonicalized (i.e. to be
      converted to Tensors). Only tf_np.ndarray and things accepted by
      `tf.convert_to_tensor` will be converted.

  Returns:
    The canonicalized version.
  """
  return tf.nest.map_structure(_canonicalize_jit_arg, inp)
def _canonicalize_jit_arguments ( inp ) : return tf . nest . map_structure ( _canonicalize_jit_arg , inp )