Skip to content

tensorplay.utils.comparison

Functions

allclose() [source]

python
allclose(input, other, rtol=1e-05, atol=1e-08, equal_nan=False)

This function checks if all input and other are close to each other. input: Tensor other: Tensor rtol: float atol: float equal_nan: bool (not supported yet)

Released under the Apache 2.0 License.

📚DeepWiki