(max_freq=10.0)
| 69 | |
| 70 | |
| 71 | def freqs_pixel(max_freq=10.0): |
| 72 | def init(shape): |
| 73 | freqs = torch.linspace(1.0, max_freq / 2, shape[-1]) * math.pi |
| 74 | return freqs.log().expand(shape) |
| 75 | return init |
| 76 | |
| 77 | |
| 78 | def freqs_pixel_log(max_freq=10.0): |
nothing calls this directly
no outgoing calls
no test coverage detected