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

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

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

# softmin

[common]\
fun [softmin](softmin.md)(input: [Tensor](../Tensor/index.md), dim: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) = -1L, dtype: [DType](../DType/index.md) = DType.UNDEFINED): [Tensor](../Tensor/index.md)

`softmin(input: Tensor, dim: Long = -1L, dtype: DType = DType.UNDEFINED)`: the `softmin` operator. Softmax of the negated input: weights small values highest.