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

Method forward

src/patchcore/common.py:156–160  ·  view source on GitHub ↗
(self, features)

Source from the content-addressed store, hash-verified

154 self.preprocessing_modules.append(module)
155
156 def forward(self, features):
157 _features = []
158 for module, feature in zip(self.preprocessing_modules, features):
159 _features.append(module(feature))
160 return torch.stack(_features, dim=1)
161
162
163class MeanMapper(torch.nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected