Download src/dinov3/utils/__init__.py from osherr/Prior2DSM: direct link, hf CLI and curl.
- Browser
- Download file 393 Bytes
-
https://huggingface.co/spaces/osherr/Prior2DSM/resolve/main/src/dinov3/utils/__init__.py
- Command line
-
hf download hf://spaces/osherr/Prior2DSM/src/dinov3/utils/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/osherr/Prior2DSM/resolve/main/src/dinov3/utils/__init__.py
393 Bytes
| # Copyright (c) Meta Platforms, Inc. and affiliates. | |
| # | |
| # This software may be used and distributed in accordance with | |
| # the terms of the DINOv3 License Agreement. | |
| from .dtype import as_torch_dtype | |
| from .utils import ( | |
| cat_keep_shapes, | |
| count_parameters, | |
| fix_random_seeds, | |
| get_conda_env, | |
| get_sha, | |
| named_apply, | |
| named_replace, | |
| uncat_with_shapes, | |
| ) | |