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

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

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

# fmax

[common]\
fun [fmax](fmax.md)(input: [Tensor](../Tensor/index.md), other: [Tensor](../Tensor/index.md)): [Tensor](../Tensor/index.md)

`fmax(input: Tensor, other: Tensor)`: the `fmax` operator. Elementwise IEEE 754 maximum, NaN-IGNORING: where one operand is NaN the other value wins (both NaN gives NaN). For the NaN-propagating law use `ops::maximum`. Broadcasts and promotes as `add`.