LeakyRelu

public final class LeakyRelu

Computes rectified linear: `max(features, features * alpha)`.

Nested Classes

class LeakyRelu.Options Optional attributes for LeakyRelu

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

Output <T>
static LeakyRelu.Options
alpha (Float alpha)
Output <T>
asOutput ()
Returns the symbolic handle of the tensor.
static <T extends TNumber > LeakyRelu <T>
create ( Scope scope, Operand <T> features, Options... options)
Factory method to create a class wrapping a new LeakyRelu operation.

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "LeakyRelu"

Public Methods

public Output <T> activations ()

public static LeakyRelu.Options alpha (Float alpha)

public Output <T> asOutput ()

Returns the symbolic handle of the tensor.

Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.

public static LeakyRelu <T> create ( Scope scope, Operand <T> features, Options... options)

Factory method to create a class wrapping a new LeakyRelu operation.

Parameters
scope current scope
options carries optional attributes values
Returns
  • a new instance of LeakyRelu