未验证 提交 eb6c60cc 编写于 作者: X Xu Jingxin 提交者: GitHub

fix(nyz): fix default max step dtype bug (#163)

上级 954d3100
......@@ -118,7 +118,7 @@ class Task:
self.step_wrappers.append(fn)
return self
def run(self, max_step: int = 1e10) -> None:
def run(self, max_step: int = int(1e10)) -> None:
"""
Overview:
Execute the iterations, when reach the max_step or task.finish is true,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册