<filename>Neural Network/NNToyFx/python/activations.py<gh_stars>0
from simulation import *


def relu(ctx: SimulationContext, x: Connection):
    relu1 = ctx.max(x, ctx.variable(0))
    return relu1
<filename>Neural Network/NNToyFx/python/activations.py<gh_stars>0
from simulation import *


def relu(ctx: SimulationContext, x: Connection):
    relu1 = ctx.max(x, ctx.variable(0))
    return relu1