MCPcopy Create free account
hub / github.com/Kitware/COAT / __init__

Method __init__

utils/mask.py:247–248  ·  view source on GitHub ↗
(self, mask_size=2)

Source from the content-addressed store, hash-verified

245
246class erase_patch:
247 def __init__(self, mask_size=2):
248 self.mask_size = mask_size
249
250 def __call__(self, features):
251 std, mean = torch.std_mean(features.detach())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected