Spaces:
No application file
No application file
File size: 246 Bytes
2be9eb9 |
1 2 3 4 5 6 7 8 9 10 11 12 |
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
|