T
- data type for activations()
output@Operator(group="nn") public final class Selu<T extends Number> extends PrimitiveOp implements Operand<T>
if < 0, `scale * features` otherwise.
To be used together with `initializer = tf.variance_scaling_initializer(factor=1.0, mode='FAN_IN')`. For correct dropout, use `tf.contrib.nn.alpha_dropout`.
See [Self-Normalizing Neural Networks](https://arxiv.org/abs/1706.02515)
operation
Modifier and Type | Method and Description |
---|---|
Output<T> |
activations() |
Output<T> |
asOutput()
Returns the symbolic handle of a tensor.
|
static <T extends Number> |
create(Scope scope,
Operand<T> features)
Factory method to create a class wrapping a new Selu operation.
|
equals, hashCode, op, toString
public static <T extends Number> Selu<T> create(Scope scope, Operand<T> features)
scope
- current scopefeatures
- public Output<T> asOutput()
Operand
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.
asOutput
in interface Operand<T extends Number>
OperationBuilder.addInput(Output)
Copyright © 2022. All rights reserved.