torchkbnufft.inner_product

inner_product(val1, val2, dim=- 1)[source]

Complex inner product.

Parameters
  • val1 (Tensor) – A tensor for the inner product.

  • val2 (Tensor) – A second tensor for the inner product.

  • dim (int) – An integer indicating the complex dimension (for real inputs only).

Return type

Tensor

Returns

The complex inner product of val1 and val2.