Spaces:
Paused
Paused
Download sensorflow/adapters/base.py from whassan/SensorflowStudio: direct link, hf CLI and curl.
- Browser
- Download file 423 Bytes
-
https://huggingface.co/spaces/whassan/SensorflowStudio/resolve/main/sensorflow/adapters/base.py
- Command line
-
hf download hf://spaces/whassan/SensorflowStudio/sensorflow/adapters/base.py
-
curl -L -o base.py https://huggingface.co/spaces/whassan/SensorflowStudio/resolve/main/sensorflow/adapters/base.py
423 Bytes
| """Adapter protocol for vendor-specific data normalization.""" | |
| from __future__ import annotations | |
| from abc import ABC, abstractmethod | |
| from typing import Any, Dict | |
| from sensorflow.schemas.unified_frame import UnifiedSequence | |
| class VendorAdapter(ABC): | |
| def load(self, source: Dict[str, Any], sequence_id: str) -> UnifiedSequence: | |
| """Convert vendor-specific data into a UnifiedSequence.""" | |