code: def _import_maybe_limbs(tensor):
      if isinstance(tensor, tf_big.Tensor):
          return tensor
      if isinstance(tensor, tf.Tensor):
          if tensor.dtype == tf.string:
              return tf_big.import_tensor(tensor)
          return tf_big.import_limbs_tensor(tensor)
      raise ValueError(
          "Don't know how to import tensors of type {}".format(
              type(tensor)
          )
      )
  
imports: from typing import Optional
  from typing import Tuple
  import tensorflow
  import tf_big
label_desc: Use image node_id 1 for calling a global function with example usage: _import_maybe_limbs(tensor) and returns: tensor, tf_big, tf_big