跳至内容

schola.scripts.sb3.launch.get_dataclass_args

函数定义

schola.scripts.sb3.launch.get_dataclass_args(args, dataclass)

从字典中获取数据类的参数,该字典可能包含其他参数。

参数

参数

Type: Dict[str, Any]
The dictionary of arguments.

dataclass

Type: Type[Any]
The dataclass to get the arguments for.

返回值

返回类型: Dict[str, Any]

The arguments for the dataclass.

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