Checks if two tensors are approximately equal within a particular precision. Infinities of the same sign are approximately equal, while NaN is never approximately equal to anything.
The first tensor
The second tensor
Optional
The precision to check
const result = Chalkboard.tens.isApproxEqual([[1, 2]], [[1, 2.0000001]]); // Returns true Copy
const result = Chalkboard.tens.isApproxEqual([[1, 2]], [[1, 2.0000001]]); // Returns true
Checks if two tensors are approximately equal within a particular precision. Infinities of the same sign are approximately equal, while NaN is never approximately equal to anything.