Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/amazon-science/patchcore-inspection
/ unpatch_scores
Method
unpatch_scores
src/patchcore/patchcore.py:310–311 ·
view source on GitHub ↗
(self, x, batchsize)
Source
from the content-addressed store, hash-verified
308
return
unfolded_features
309
310
def
unpatch_scores(self, x, batchsize):
311
return
x.reshape(batchsize, -1, *x.shape[1:])
312
313
def
score(self, x):
314
was_numpy = False
Callers
1
_predict
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected