def _mapping(item: 'TFArgType') -> 'tf_ext.TensorLike':
    if (not LazyType['tf_ext.TensorLike']('tf.Tensor').isinstance(item)):
        return t.cast('tf_ext.TensorLike', tf.convert_to_tensor(item))
    else:
        return item
def _mapping(item: 'TFArgType') -> 'tf_ext.TensorLike':
    if (not LazyType['tf_ext.TensorLike']('tf.Tensor').isinstance(item)):
        return t.cast('tf_ext.TensorLike', tf.convert_to_tensor(item))
    else:
        return item