MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / __init__

Method __init__

losses/loss.py:6–12  ·  view source on GitHub ↗
(
        self,
        eps: float = 1e-8,
        )

Source from the content-addressed store, hash-verified

4
5class StrandVAELoss(torch.nn.Module):
6 def __init__(
7 self,
8 eps: float = 1e-8,
9 ):
10 super().__init__()
11
12 self.eps = eps
13
14 def forward(self, phase, gt_dict, pred_dict, latent_dict, hyperparams):
15 gt_strands= gt_dict["strand_positions"]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected