(content: torch.Tensor, style: torch.Tensor, levels: int = 5)
| 76 | |
| 77 | |
| 78 | def _wavelet_reconstruct(content: torch.Tensor, style: torch.Tensor, levels: int = 5) -> torch.Tensor: |
| 79 | c_high, _ = _wavelet_decompose(content, levels=levels) |
| 80 | _, s_low = _wavelet_decompose(style, levels=levels) |
| 81 | return c_high + s_low |
| 82 | |
| 83 | |
| 84 | # ----------------------------- |
no test coverage detected