()
| 105 | |
| 106 | |
| 107 | def get_conda_env() -> Tuple[Optional[str], Optional[str]]: |
| 108 | conda_env_name = os.environ.get("CONDA_DEFAULT_ENV") |
| 109 | conda_env_path = os.environ.get("CONDA_PREFIX") |
| 110 | return conda_env_name, conda_env_path |
| 111 | |
| 112 | |
| 113 | def has_batchnorms(model: nn.Module) -> bool: |
nothing calls this directly
no outgoing calls
no test coverage detected