Class PReLU
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 PReLU : BaseLayer, IDisposable
Constructors
| Improve this Doc View SourcePReLU(String, String, String, Int32[])
Initializes a new instance of the PReLU class.
Declaration
public PReLU(string alpha_initializer = "zeros", string alpha_regularizer = "", string alpha_constraint = "", int[] shared_axes = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | alpha_initializer | initializer function for the weights. |
System.String | alpha_regularizer | regularizer for the weights. |
System.String | alpha_constraint | constraint for the weights. |
System.Int32[] | shared_axes | the axes along which to share learnable parameters for the activation function. For example, if the incoming feature maps are from a 2D convolution with output shape (batch, height, width, channels), and you wish to share parameters across space so that each filter only has one set of parameters, set shared_axes=[1, 2]. |
Implements
System.IDisposable