跳至内容

schola.scripts.common.add_checkpoint_args

函数定义

schola.scripts.common.add_checkpoint_args(parser)

向解析器添加 checkpoint 参数。

参数

解析器

类型: argparse.ArgumentParser
将添加参数的解析器。

返回值

返回类型: argparse._ArgumentGroup

已添加到解析器的 checkpoint 组。可用于添加更多参数

© . This site is unofficial and not affiliated with AMD.