mindformers.trainer.ContextConfig

class mindformers.trainer.ContextConfig(mode: Union[int, str, None] = 0, device_target: str = 'Ascend', device_id: int = 0, save_graphs: bool = False, save_graphs_path: str = '.', **kwargs)[源代码]

Context Config.