mindspore.Tensor.approximate_equal

mindspore.Tensor.approximate_equal(other, tolerance=1e-5)[源代码]

Tensor.approximate_equal 从2.8.0版本开始已被弃用,并将在2.9.0(不含)之后版本中被移除。 建议使用 mindspore.Tensor.isclose() 替代。

警告

该接口已废弃,2.9.0(不含)之后版本将删除。