Spaces:
Build error
Build error
Download src/models/chip_component.py from VAH6002/desgn-chip: direct link, hf CLI and curl.
- Browser
- Download file 228 Bytes
-
https://huggingface.co/spaces/VAH6002/desgn-chip/resolve/main/src/models/chip_component.py
- Command line
-
hf download hf://spaces/VAH6002/desgn-chip/src/models/chip_component.py
-
curl -L -o chip_component.py https://huggingface.co/spaces/VAH6002/desgn-chip/resolve/main/src/models/chip_component.py
228 Bytes
| from dataclasses import dataclass | |
| from typing import Tuple | |
| class ChipComponent: | |
| width: int | |
| height: int | |
| power_consumption: float | |
| performance_score: float | |
| position: Tuple[int, int] = (0, 0) |