tfg.math.spherical_harmonics.integration_product
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 .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-10-28 UTC.
[null,null,["Last updated 2022-10-28 UTC."],[],[]]