---
title: "ClikaRT::ops::isfinite"
sidebar_label: "isfinite"
description: "Elementwise finiteness test (neither infinite nor NaN); output as eq. Integer inputs are finite everywhere. input-shaped Bool mask. ClikaRT::Error (INVALID_ARGUMENT) for an unsupported dtype."
---

<!-- Generated by tools/doxygen2mdx from Doxygen XML. Do not edit. -->

<span class="api-kind api-kind--function">function</span>

## isfinite() {#isfinite}

<div class="api-signature">

[`Tensor`](../Tensor.md) **`isfinite`**([`Tensor`](../Tensor.md) `input`)

</div>

Elementwise finiteness test (neither infinite nor NaN); output as [`eq`](./eq.md#eq). Integer inputs are finite everywhere.

**Returns:** `input`-shaped `Bool` mask.

**Throws**

- `ClikaRT::Error`: (`INVALID_ARGUMENT`) for an unsupported dtype.

<div class="api-declared">

Declared in `ClikaRT/compute/ops.h`, line 1749

</div>
