(self)
return (self._features, self._labels)
Gets `features` and `labels`.
Gets `features` and `labels`.
Gets features and labels .
def features_and_labels(self):
    """Gets `features` and `labels`."""
    if self.is_dataset:
      if self._iterator is None:
        raise RuntimeError('Internal error: Must run dataset_initializer '
                           'before calling features_and_labels(). Please file '
                           'a bug!')
      return _Inputs._parse_inputs(self._iterator.get_next())

    return (self._features, self._labels)
def features_and_labels ( self ) : if self . is_dataset : if self . _iterator is None : raise RuntimeError ( 'Internal error: Must run dataset_initializer ' 'before calling features_and_labels(). Please file ' 'a bug!' ) return _Inputs . _parse_inputs ( self . _iterator . get_next ( ) ) return ( self . _features , self . _labels )