(self)
return self.parallel_model if self.ngpu > 1 else self.model
real keras model for run
real keras model for run
real keras model for run
def active_model(self):
    ''' real keras model for run'''
    return self.parallel_model if self.ngpu > 1 else self.model
def active_model ( self ) : return self . parallel_model if self . ngpu > 1 else self . model