torch.utils.collect_env.pretty_str torch.utils.collect_env.pretty_str(envinfo) Назадtorch.utils.collect_env.main