Rate this Page
โ˜… โ˜… โ˜… โ˜… โ˜…

torch.logaddexp2#

torch.logaddexp2(input, other, *, out=None) โ†’ Tensor#

Logarithm of the sum of exponentiations of the inputs in base-2.

Calculates pointwise logโก2(2x+2y)\log_2\left(2^x + 2^y\right). See torch.logaddexp() for more details.

Parameters
  • input (Tensor) โ€“ the input tensor.

  • other (Tensor) โ€“ the second input tensor

Keyword Arguments

out (Tensor, optional) โ€“ the output tensor.