(self)
Sets self.dataset_spec to an initial DatasetSpecification.
Sets self.dataset_spec to an initial DatasetSpecification.
Sets self . dataset_spec to an initial DatasetSpecification .
def _init_data_specification(self):
    """Sets self.dataset_spec to an initial DatasetSpecification."""
    # Maps each Split to the number of classes assigned to it.
    self.classes_per_split = {
        learning_spec.Split.TRAIN: 0,
        learning_spec.Split.VALID: 0,
        learning_spec.Split.TEST: 0
    }

    self._create_data_spec()
def _init_data_specification ( self ) : # Maps each Split to the number of classes assigned to it. self . classes_per_split = { learning_spec . Split . TRAIN : 0 , learning_spec . Split . VALID : 0 , learning_spec . Split . TEST : 0 } self . _create_data_spec ( )