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

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

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

# hardswish

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

`hardswish(input: Tensor)`: the `hardswish` operator. Piecewise-linear swish approximation (the MobileNet-v3 form).