MCPcopy Create free account
hub / github.com/TencentARC/AnimeGamer / forward

Method forward

VDM_Decoder/vae_modules/regularizers.py:73–74  ·  view source on GitHub ↗
(self, z: torch.Tensor)

Source from the content-addressed store, hash-verified

71
72class IdentityRegularizer(AbstractRegularizer):
73 def forward(self, z: torch.Tensor) -> Tuple[torch.Tensor, dict]:
74 return z, dict()
75
76 def get_trainable_parameters(self) -> Any:
77 yield from ()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected