mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Pull Request resolved: https://github.com/pytorch/pytorch/pull/145288 Approved by: https://github.com/c00w
14 lines
343 B
Python
14 lines
343 B
Python
import sys
|
|
|
|
from torch.utils._config_module import Config, install_config_module
|
|
|
|
|
|
e_aliasing_bool = False
|
|
|
|
e_env_default_multi: bool = Config(
|
|
env_name_default=["ENV_TRUE", "ENV_FALSE"], default=False
|
|
)
|
|
e_env_force_multi: bool = Config(env_name_force=["ENV_FAKE", "ENV_TRUE"], default=False)
|
|
|
|
install_config_module(sys.modules[__name__])
|