(self, latent, condition=None)
| 105 | self.transformer_decoder.set_grad_checkpointing(opt.checkpointing) |
| 106 | |
| 107 | def forward(self, latent, condition=None): |
| 108 | features = self.transformer_decoder(latent, condition) # [B, V, N, D] |
| 109 | |
| 110 | return features |
| 111 | |
| 112 | inverse_sigmoid = lambda x: np.log(x / (1 - x)) |
| 113 | artanh = lambda x: 0.5 * np.log((1 + x) / (1 - x)) |
nothing calls this directly
no outgoing calls
no test coverage detected