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

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

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

# abs

[common]\
fun [abs](abs.md)(input: [Tensor](../Tensor/index.md)): [Tensor](../Tensor/index.md)

`abs(input: Tensor)`: the `abs` operator. Elementwise absolute value. Value-domain violations follow IEEE semantics (NaN / ±inf in the result), never an error.