提交 1d406eb8 编写于 作者: X xiexionghang

fix code style

上级 abc50489
......@@ -34,7 +34,8 @@ def create(config):
if config['mode'] == 'fluid':
if config['layer_file'].endswith(".py"):
model_class = envs.lazy_instance_by_fliename(config['layer_file'], "Model")
model_class = envs.lazy_instance_by_fliename(config['layer_file'],
"Model")
model = model_class(config)
else:
model = YamlModel(config)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册