Learn R Programming

ggmlR (version 0.6.1)

ggml_relu_inplace: ReLU Activation In-place (Graph)

Description

Creates a graph node for in-place ReLU activation: max(0, x)

Usage

ggml_relu_inplace(ctx, a)

Value

View of tensor a with ReLU applied

Arguments

ctx

GGML context

a

Input tensor (will be modified in-place)