(self, z, c, truncation_psi=1, truncation_cutoff=None, update_emas=False)
| 51 | |
| 52 | |
| 53 | def mapping(self, z, c, truncation_psi=1, truncation_cutoff=None, update_emas=False): |
| 54 | if self.rendering_kwargs['c_gen_conditioning_zero']: |
| 55 | c = torch.zeros_like(c) |
| 56 | return self.backbone.mapping(z, c * self.rendering_kwargs.get('c_scale', 0), truncation_psi=truncation_psi, truncation_cutoff=truncation_cutoff, update_emas=update_emas) |
| 57 | |
| 58 | # camera pose self_adaptation mapping, return c after added t_vector |
| 59 | def apply_delta_c(self, z, c, truncation_psi=1, truncation_cutoff=None, update_emas=False): |
no outgoing calls
no test coverage detected