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) or S^2 ones.

  • 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 an S^2 one (z^l_{mn} = f^l_m w^l_n, summed over i).

  • padded (bool, optional) – Padded blocks (f and w alike): one batched matrix product over the degrees.

Returns:

Degree-blocked SO(3) spectra (B C_out K_SO3, 2), padded with f.

Return type:

Tensor