Skip to contents

ReLU (Rectified Linear Unit) activation function for value objects

Usage

relu(x)

Arguments

x

A value object

Value

A new value object representing max(0, x)