mindspore.Tensor.approximate_equal

Tensor.approximate_equal(other, tolerance=1e-5)[source]

Tensor.approximate_equal is deprecated from version 2.8.0 and will be removed after version 2.9.0, please use mindspore.Tensor.isclose() instead.

Warning

This interface is deprecated and will be removed after version 2.9.0.