MCPcopy Create free account
hub / github.com/CompVis/zigma / __init__

Method __init__

utils/torchmetric_fdd.py:64–67  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

62
63class Encoder(ABC, nn.Module):
64 def __init__(self, *args, **kwargs):
65 nn.Module.__init__(self)
66 self.setup(*args, **kwargs)
67 self.name = "encoder"
68
69 @abstractmethod
70 def setup(self, *args, **kwargs):

Callers 1

__init__Method · 0.45

Calls 1

setupMethod · 0.95

Tested by

no test coverage detected