ag_relu: ReLU activation

View source: R/autograd.R

ag_reluR Documentation

ReLU activation

Description

Applies the rectified linear unit: \max(0, x).

Usage

ag_relu(x)

Arguments

x

ag_tensor

Value

ag_tensor


ggmlR documentation built on Oct. 23, 2026, 1:07 a.m.