Spaces:
Sleeping
Sleeping
Download MLStructFP/_types.py from rawanessam/MLSTRUCT-FP: direct link, hf CLI and curl.
- Browser
- Download file 295 Bytes
-
https://huggingface.co/spaces/rawanessam/MLSTRUCT-FP/resolve/main/MLStructFP/_types.py
- Command line
-
hf download hf://spaces/rawanessam/MLSTRUCT-FP/MLStructFP/_types.py
-
curl -L -o _types.py https://huggingface.co/spaces/rawanessam/MLSTRUCT-FP/resolve/main/MLStructFP/_types.py
295 Bytes
| """ | |
| MLSTRUCT-FP - TYPES | |
| Define globals types used by the code. | |
| """ | |
| # noinspection PyUnresolvedReferences | |
| from typing import Union, TYPE_CHECKING, List, Dict, Tuple, Optional, Any | |
| # Types | |
| NumberType = Union[int, float] | |
| # Instances | |
| NumberInstance = (int, float) | |
| VectorInstance = (list, tuple) | |