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

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

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

# le

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

`le(input: Tensor, other: Tensor)`: the `le` operator. Elementwise `a <= other`; output as `eq`.

[common]\
fun [le](le.md)(input: [Tensor](../Tensor/index.md), other: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)): [Tensor](../Tensor/index.md)

`le(input: Tensor, other: Double)`: the number form of `le`, `other` as a scalar.