parameters: (self, filename="")
return_statement: return CacheDataset(self, filename)
docstring: Caches the elements in this dataset.
  
      Args:
        filename: A `tf.string` scalar `tf.Tensor`, representing the name of a
          directory on the filesystem to use for caching tensors in this Dataset.
          If a filename is not provided, the dataset will be cached in memory.
  
      Returns:
        A `Dataset`.
docstring_summary: Caches the elements in this dataset.
docstring_tokens: Caches the elements in this dataset .
function: def cache(self, filename=""):
      """Caches the elements in this dataset.
  
      Args:
        filename: A `tf.string` scalar `tf.Tensor`, representing the name of a
          directory on the filesystem to use for caching tensors in this Dataset.
          If a filename is not provided, the dataset will be cached in memory.
  
      Returns:
        A `Dataset`.
      """
      return CacheDataset(self, filename)
function_tokens: def cache ( self , filename = "" ) : return CacheDataset ( self , filename )