torch.addcdiv
torch.addcdiv(input, tensor1, tensor2, *, value=1, out=None) -> Tensor
Performs the element-wise division of "tensor1" by "tensor2",
   multiplies the result by the scalar "value" and adds it to "input".
Warning:
 Integer division with addcdiv is no longer supported, and in a
 future release addcdiv will perform a true division of tensor1
 and tensor2. The historic addcdiv behavior can be implemented as
 (input + value * torch.trunc(tensor1 / tensor2)).to(input.dtype)
 for integer inputs and as (input + value * tensor1 / tensor2) for
 float inputs. The future addcdiv behavior is just the latter
 implementation: (input + value * tensor1 / tensor2), for all
 dtypes.

  \text{out}_i = \text{input}_i + \text{value} \times
  \frac{\text{tensor1}_i}{\text{tensor2}_i}

The shapes of "input", "tensor1", and "tensor2" must be
   broadcastable.
For inputs of type FloatTensor or DoubleTensor, "value" must be