Spaces:
No application file
No application file
| import numpy as np | |
| class Vector: | |
| def __init__(self, data: np.array, key: str, metadata: dict) -> None: | |
| self.data = data | |
| self.key = key | |
| self.metadata = metadata | |
| def __repr__(self) -> str: | |
| return self.key | |