Skip to contents

Leaky relu activation function.

Usage

activation_leaky_relu(x, negative_slope = 0.2)

Arguments

x

Input tensor.

negative_slope

A float that controls the slope for values lower than the threshold.

Value

A tensor, the result from applying the activation to the input tensor x.