(
self, features: Union[torch.Tensor, np.ndarray]
)
| 21 | |
| 22 | @abc.abstractmethod |
| 23 | def run( |
| 24 | self, features: Union[torch.Tensor, np.ndarray] |
| 25 | ) -> Union[torch.Tensor, np.ndarray]: |
| 26 | pass |
| 27 | |
| 28 | def _store_type(self, features: Union[torch.Tensor, np.ndarray]) -> None: |
| 29 | self.features_is_numpy = isinstance(features, np.ndarray) |
nothing calls this directly
no outgoing calls
no test coverage detected