Description Usage Arguments Value Examples
Computes the element-wise remainder of division.
1 2 | ## S3 method for class 'torch.Tensor'
a %% b
|
a |
a tensor |
b |
a scalar or a tensor |
the reminder of the division between tensor by a scalar or tensor
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.