class_docstr: Timeseries problem with a toy dataset.
class_docstr_tok: ["Timeseries","problem","with","a","toy","dataset","."]
code: def timeseries_dataset(self):
      series = [
          [float(i + n) for n in range(self.num_series)]
          for i in range(10)
      ]
  
      return np.array(series)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  from tensor2tensor.data_generators import generator_utils
  from tensor2tensor.data_generators import problem
  from tensor2tensor.data_generators import text_encoder
  from tensor2tensor.data_generators import timeseries_data_generator
  from tensor2tensor.layers import modalities
  from tensor2tensor.utils import metrics
  from tensor2tensor.utils import registry
  import tensorflow.compat.v1
label_desc: Use image node_id 7 for calling the TimeseriesToyProblem obj's underlying member method code with example usage: obj.timeseries_dataset() and returns: np