xnn.cnn.fast.spherical.spectral_product#
- xnn.cnn.fast.spherical.spectral_product(f, w, L, batch, so3, padded=False)[source]#
The spectral product of a correlation: a complex matrix product per degree.
- Parameters:
f (Tensor) – Degree-blocked input spectra
(B C_in K, 2):SO(3)spectra (so3) orS^2ones.w (Tensor) – The filter’s matrices of
degree_matrices().L (int) – Bandwidth.
batch (int) – The batch
B.so3 (bool) – Whether the input is an
SO(3)spectrum (z^l = f^l w^l, summed over(i, n)) or anS^2one (z^l_{mn} = f^l_m w^l_n, summed overi).padded (bool, optional) – Padded blocks (
fandwalike): one batched matrix product over the degrees.
- Returns:
Degree-blocked
SO(3)spectra(B C_out K_SO3, 2), padded withf.- Return type:
Tensor