Tutorials
Examples
References
Other
Community
chainer.testing.
assert_allclose
Asserts if some corresponding element of x and y differs too much.
This function can handle both CPU and GPU arrays simultaneously.
x – Left-hand-side array.
y – Right-hand-side array.
atol (float) – Absolute tolerance.
rtol (float) – Relative tolerance.
verbose (bool) – If True, it outputs verbose messages on error.
True