Skip to main content

ClikaRT::ops::isfinite

function

isfinite()

Tensor isfinite(Tensor x)

Elementwise finiteness test (neither infinite nor NaN); output as eq. Integer inputs are finite everywhere.

Returns: x-shaped Bool mask.

Throws

  • ClikaRT::Error: (INVALID_ARGUMENT) for an unsupported dtype.

Declared in ClikaRT/compute/ops.h, line 1685