(config)
return _model
get model object from register
get model object from register
get model object from register
def model(config):
  ''' get model object from register '''
  classname = config['model']['name']
  logging.info("model == {}".format(classname))
  # Model initialization
  _model = registers.model[classname](config)
  return _model
def model ( config ) : classname = config [ 'model' ] [ 'name' ] logging . info ( "model == {}" . format ( classname ) ) # Model initialization _model = registers . model [ classname ] ( config ) return _model