(
self,
eps: float = 1e-8,
)
| 4 | |
| 5 | class 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"] |
nothing calls this directly
no outgoing calls
no test coverage detected