parameters: (x)
return_statement: return [x]
docstring: Normalizes a list/tensor into a list.
  
    If a tensor is passed, we return
    a list of size 1 containing the tensor.
  
    Arguments:
        x: target object to be normalized.
  
    Returns:
        A list.
docstring_summary: Normalizes a list/tensor into a list.
docstring_tokens: Normalizes a list / tensor into a list .
function: def _to_list(x):
    """Normalizes a list/tensor into a list.
  
    If a tensor is passed, we return
    a list of size 1 containing the tensor.
  
    Arguments:
        x: target object to be normalized.
  
    Returns:
        A list.
    """
    if isinstance(x, list):
      return x
    return [x]
function_tokens: def _to_list ( x ) : if isinstance ( x , list ) : return x return [ x ]