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

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

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

# reglu

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

`reglu(input: Tensor)`: the `reglu` operator. ReGLU gated activation over a concatenated gate‖up input. The relu-gated member of the GLU family, beside `geglu` / `swiglu`: `[.., 2d]` in, `[.., d]` out; the last dim must be even.