class_docstr: Dataset scheduling for multiple problems.
class_docstr_tok: ["Dataset","scheduling","for","multiple","problems","."]
docstr: Creates a MultiProblem object.
  
  Args:
    problems: A list of problem.Problem objects.
    schedule: A schedule tuple, see encode_schedule for details.
    **kwargs: Keywords for problem.Problem.__init__.
docstr_tok: ["Creates","a","MultiProblem","object",".","Args",":","problems",":","A","list","of","problem.Problem","objects",".","schedule",":","A","schedule","tuple",",","see","encode_schedule","for","details",".","*","*","kwargs",":","Keywords","for","problem.Problem.__init__","."]
code: def __init__(self, problems, schedule, **kwargs):
      """Creates a MultiProblem object.
  
      Args:
        problems: A list of problem.Problem objects.
        schedule: A schedule tuple, see encode_schedule for details.
        **kwargs: Keywords for problem.Problem.__init__.
      """
      super(MultiProblemV2, self).__init__(**kwargs)
      self.problems = problems
      self.schedule = schedule
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import functools
  import os
  import numpy
  from tensor2tensor.data_generators import problem
  from tensor2tensor.data_generators import text_problems
  import tensorflow.compat.v1
label_desc: Use image node_id 1 to create a new MultiProblemV2 object from inherited base classes: problem with example: obj = MultiProblemV2(problems, schedule)