mirror of https://github.com/tracel-ai/burn.git
Remainder operator doc (#1836)
* Adds remainder ops implementation for Tensor. * Adds test for % operator. * Add remainder and % operator entry in tensor.md --------- Co-authored-by: Jonas Kantic <jk.mail@posteo.net>
This commit is contained in:
parent
fba1e27e0c
commit
e407c76def
|
@ -228,6 +228,7 @@ Those operations are available for numeric tensor kinds: `Float` and `Int`.
|
||||||
| `tensor.powf_scalar(scalar)` or `tensor.powi_scalar(intscalar)` | `tensor.pow(scalar)` |
|
| `tensor.powf_scalar(scalar)` or `tensor.powi_scalar(intscalar)` | `tensor.pow(scalar)` |
|
||||||
| `tensor.prod()` | `tensor.prod()` |
|
| `tensor.prod()` | `tensor.prod()` |
|
||||||
| `tensor.prod_dim(dim)` | `tensor.prod(dim, keepdim=True)` |
|
| `tensor.prod_dim(dim)` | `tensor.prod(dim, keepdim=True)` |
|
||||||
|
| `tensor.rem(other)` or `tensor % other` | `tensor % other` |
|
||||||
| `tensor.scatter(dim, indices, values)` | `tensor.scatter_add(dim, indices, values)` |
|
| `tensor.scatter(dim, indices, values)` | `tensor.scatter_add(dim, indices, values)` |
|
||||||
| `tensor.select(dim, indices)` | `tensor.index_select(dim, indices)` |
|
| `tensor.select(dim, indices)` | `tensor.index_select(dim, indices)` |
|
||||||
| `tensor.select_assign(dim, indices, values)` | N/A |
|
| `tensor.select_assign(dim, indices, values)` | N/A |
|
||||||
|
|
Loading…
Reference in New Issue