parameters: (self, input_list, as_ref=False)
return_statement: return [convert_to_tensor(x, as_ref=as_ref) for x in input_list]
docstring: Converts input list to a set of tensors.
docstring_summary: Converts input list to a set of tensors.
docstring_tokens: Converts input list to a set of tensors .
function: def _convert_n_to_tensor(self, input_list, as_ref=False):
      """Converts input list to a set of tensors."""
      return [convert_to_tensor(x, as_ref=as_ref) for x in input_list]
function_tokens: def _convert_n_to_tensor ( self , input_list , as_ref = False ) : return [ convert_to_tensor ( x , as_ref = as_ref ) for x in input_list ]