Spaces:
Paused
Paused
| """English implementation note.""" | |
| from __future__ import annotations | |
| from typing import Protocol, runtime_checkable | |
| import numpy as np | |
| class BackboneProtocol(Protocol): | |
| """English implementation note.""" | |
| W: np.ndarray | |
| def cfg(self): | |
| """English implementation note.""" | |
| ... | |
| def encode(self, X: np.ndarray) -> np.ndarray: | |
| """English implementation note.""" | |
| ... | |