Class Activation
Applies an activation function to an output.
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Keras.Layers
Assembly: Keras.dll
Syntax
public class Activation : BaseLayer, IDisposable
Constructors
| Improve this Doc View SourceActivation(String, Shape)
Initializes a new instance of the Activation class.
Declaration
public Activation(string act, Shape input_shape = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | act | name of activation function to use (see: activations), or alternatively, a Theano or TensorFlow operation. |
Shape | input_shape | Arbitrary. Use the keyword argument input_shape (tuple of integers, does not include the samples axis) when using this layer as the first layer in a model. |
Implements
System.IDisposable