TensorPlay
Reference guides
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-08

tensorplay.testing

Classes

Functions

tensorplay.testing.assert_allclose

Legacy alias of assert_close() with positional tolerances.

tensorplay.testing.assert_close

Asserts that actual and expected are close.

tensorplay.testing.default_tolerances

Returns the default absolute and relative testing tolerances for a set of inputs based on the dtype.

tensorplay.testing.get_tolerances

Gets absolute and relative tolerances to be used for numeric comparisons.

tensorplay.testing.make_tensor

Creates a tensor with the given shape, device, and dtype, filled with values drawn uniformly from [low, high).

On this page

Ask DeepWiki