deepy/dataset/dataset.py
def train_size(self):
        """
        Return size of training data. (optional)
        :rtype: number
        """
        train_set = self.train_set()
        if isinstance(train_set, collections.Iterable):
            return len(list(train_set))
        else:
            return None
def train_size(self):
        """
        Return size of training data. (optional)
        :rtype: number
        """
        train_set = self.train_set()
        if isinstance(train_set, collections.Iterable):
            return len(list(train_set))
        else:
            return None
def train_size ( self ) : train_set = self . train_set ( ) if isinstance ( train_set , collections . Iterable ) : return len ( list ( train_set ) ) else : return None
Return size of training data. (optional)
        :rtype: number
Return size of training data . ( optional ) : rtype : number