ΒΆPosit<T, totalbits, esbits, FT, positspec> relu(
    const Posit<T,
                totalbits,
                esbits,
                FT,
                positspec>& a)

Description

Relu Activation function (Level 1)

Declared at: include/posit.h:550

Parameters

const Posit<T, totalbits, esbits, FT, positspec>& a

Returns

0 for negative and not nan, otherwise identity