MCPcopy Create free account
hub / github.com/amazon-science/patchcore-inspection / run

Method run

src/patchcore/sampler.py:10–13  ·  view source on GitHub ↗
(
        self, features: Union[torch.Tensor, np.ndarray]
    )

Source from the content-addressed store, hash-verified

8
9class IdentitySampler:
10 def run(
11 self, features: Union[torch.Tensor, np.ndarray]
12 ) -> Union[torch.Tensor, np.ndarray]:
13 return features
14
15
16class BaseSampler(abc.ABC):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected