Computes the integral of harmonics1.harmonics2 over the sphere.
tfg.math.spherical_harmonics.integration_product(
harmonics1: TensorLike,
harmonics2: TensorLike,
keepdims: bool = True,
name: str = 'spherical_harmonics_convolution'
) -> TensorLike
Note |
In the following, A1 to An are optional batch dimensions.
|
Args |
harmonics1
|
A tensor of shape [A1, ..., An, C] , where the last dimension
represents spherical harmonics coefficients.
|
harmonics2
|
A tensor of shape [A1, ..., An, C] , where the last dimension
represents spherical harmonics coefficients.
|
keepdims
|
If True, retains reduced dimensions with length 1.
|
name
|
A name for this op. Defaults to "spherical_harmonics_convolution".
|
Returns |
A tensor of shape [A1, ..., An] containing scalar values resulting from
integrating the product of the spherical harmonics harmonics1 and
harmonics2 .
|
Raises |
ValueError
|
if the last dimension of harmonics1 is different from the last
dimension of harmonics2 .
|