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

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

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

# maximum

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

`maximum(input: Tensor, other: Tensor)`: the `maximum` operator. Elementwise maximum, NaN-PROPAGATING: a NaN in either operand yields NaN (use `ops::fmax` for the NaN-ignoring IEEE law). Broadcasts and promotes as `add`.