Show / Hide Table of Contents

Class PReLU

Inheritance
System.Object
Keras
Base
BaseLayer
PReLU
Implements
System.IDisposable
Inherited Members
BaseLayer.Set(BaseLayer[])
Base.Parameters
Base.None
Base.Init()
Base.ToPython()
Base.InvokeStaticMethod(Object, String, Dictionary<String, Object>)
Base.InvokeMethod(String, Dictionary<String, Object>)
Base.Item[String]
Keras.Instance
Keras.keras
Keras.keras2onnx
Keras.tfjs
Keras.Dispose()
Keras.ToTuple(Array)
Keras.ToList(Array)
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 Source

PReLU(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
  • Improve this Doc
  • View Source
Back to top Generated by DocFX