parameters: (self, input_dataset, dataset_to_concatenate)
docstring: See `Dataset.concatenate()` for details.
docstring_summary: See `Dataset.concatenate()` for details.
docstring_tokens: See Dataset . concatenate () for details .
function: def __init__(self, input_dataset, dataset_to_concatenate):
      """See `Dataset.concatenate()` for details."""
      super(ConcatenateDataset, self).__init__()
      self._input_dataset = input_dataset
      self._dataset_to_concatenate = dataset_to_concatenate
      nest.assert_same_structure(input_dataset.output_types,
                                 dataset_to_concatenate.output_types)
      for a, b in zip(
          nest.flatten(input_dataset.output_types),
          nest.flatten(dataset_to_concatenate.output_types)):
        if a != b:
          raise TypeError(
              "Two datasets to concatenate have different types %s and %s" %
              (input_dataset.output_types, dataset_to_concatenate.output_types))
function_tokens: def __init__ ( self , input_dataset , dataset_to_concatenate ) : super ( ConcatenateDataset , self ) . __init__ ( ) self . _input_dataset = input_dataset self . _dataset_to_concatenate = dataset_to_concatenate nest . assert_same_structure ( input_dataset . output_types , dataset_to_concatenate . output_types ) for a , b in zip ( nest . flatten ( input_dataset . output_types ) , nest . flatten ( dataset_to_concatenate . output_types ) ) : if a != b : raise TypeError ( "Two datasets to concatenate have different types %s and %s" % ( input_dataset . output_types , dataset_to_concatenate . output_types ) )