@@ -190,6 +190,7 @@ Those operations are available for numeric tensor kinds: `Float` and `Int`.
190
190
| ` tensor.clamp(min, max) ` | ` torch.clamp(tensor, min=min, max=max) ` |
191
191
| ` tensor.clamp_max(max) ` | ` torch.clamp(tensor, max=max) ` |
192
192
| ` tensor.clamp_min(min) ` | ` torch.clamp(tensor, min=min) ` |
193
+ | ` tensor.contains_nan() ` | N/A |
193
194
| ` tensor.div(other) ` or ` tensor / other ` | ` tensor / other ` |
194
195
| ` tensor.div_scalar(scalar) ` or ` tensor / scalar ` | ` tensor / scalar ` |
195
196
| ` tensor.equal_elem(other) ` | ` tensor.eq(other) ` |
@@ -199,6 +200,7 @@ Those operations are available for numeric tensor kinds: `Float` and `Int`.
199
200
| ` tensor.greater_equal(other) ` | ` tensor.ge(other) ` |
200
201
| ` tensor.greater_equal_elem(scalar) ` | ` tensor.ge(scalar) ` |
201
202
| ` tensor.is_close(other, atol, rtol) ` | ` torch.isclose(tensor, other, atol, rtol) ` |
203
+ | ` tensor.is_nan() ` | ` torch.isnan(tensor) ` |
202
204
| ` tensor.lower(other) ` | ` tensor.lt(other) ` |
203
205
| ` tensor.lower_elem(scalar) ` | ` tensor.lt(scalar) ` |
204
206
| ` tensor.lower_equal(other) ` | ` tensor.le(other) ` |
@@ -304,12 +306,13 @@ Those operations are only available for `Bool` tensors.
304
306
305
307
### Quantization Operations
306
308
307
- Those operations are only available for ` Float ` tensors on backends that implement quantization strategies.
309
+ Those operations are only available for ` Float ` tensors on backends that implement quantization
310
+ strategies.
308
311
309
- | Burn API | PyTorch Equivalent |
310
- | ------------------------------------ | ------------- ------------------ |
311
- | ` tensor.quantize(scheme, qparams) ` | N/A |
312
- | ` tensor.dequantize() ` | N/A |
312
+ | Burn API | PyTorch Equivalent |
313
+ | ---------------------------------- | ------------------ |
314
+ | ` tensor.quantize(scheme, qparams) ` | N/A |
315
+ | ` tensor.dequantize() ` | N/A |
313
316
314
317
## Activation Functions
315
318
0 commit comments