提交 1571c25a 编写于 作者: T tangwei12

code style fix

上级 7efd73ac
......@@ -66,8 +66,8 @@ class CheckpointConfig(object):
assert epoch_interval >= 1
assert step_interval >= 1
self.checkpoint_dir = checkpoint_dir if checkpoint_dir is not None else os.getcwd(
)
self.checkpoint_dir = checkpoint_dir \
if checkpoint_dir is not None else os.getcwd()
self.max_num_checkpoints = max_num_checkpoints
self.epoch_interval = epoch_interval
self.step_interval = step_interval
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册