---
title: "isclose"
sidebar_label: "isclose"
description: "Kotlin binding reference: isclose."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[Ops](index.md)/[isclose](isclose.md)

# isclose

[common]\
fun [isclose](isclose.md)(input: [Tensor](../Tensor/index.md), other: [Tensor](../Tensor/index.md), rtol: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html) = 1.0E-5, atol: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html) = 1.0E-8, equalNan: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false): [Tensor](../Tensor/index.md)

`isclose(input: Tensor, other: Tensor, rtol: Double = 1e-5, atol: Double = 1e-8, equalNan: Boolean = false)`: the `isclose` operator. Elementwise approximate equality, the elementwise map behind `ops::allclose`, same formula and defaults (`rtol``1e-5`, `atol``1e-8`, `equal_nan``false`).