MCPcopy Create free account
hub / github.com/00why00/JoDiffusion / __call__

Method __call__

train_ae.py:265–266  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

263
264class Mask2Tensor(torch.nn.Module):
265 def __call__(self, x):
266 return torch.from_numpy(np.array(x)).long()
267
268class EncodeBitMap(torch.nn.Module):
269 def __init__(self, n=8, fill_value=0.5, ignore_label=0):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected