Class LeakyReLU

    • Constructor Summary

      Constructors 
      Constructor Description
      LeakyReLU​(double alpha)
      Initialize the activation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.function.ToDoubleFunction<java.lang.Double> getEActivation()
      Get the function that will be applied to each element.
      java.util.function.ToDoubleFunction<java.lang.Double> getETransferDerivative()
      Return the function to transfer derivative that will be applied to each element.
      java.lang.String toString()
      Get a string representation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LeakyReLU

        public LeakyReLU​(double alpha)
        Initialize the activation.
        Parameters:
        alpha - slope when x is below 0
    • Method Detail

      • getEActivation

        public java.util.function.ToDoubleFunction<java.lang.Double> getEActivation()
        Description copied from class: ElementwiseActivation
        Get the function that will be applied to each element.
        Specified by:
        getEActivation in class ElementwiseActivation
        Returns:
        the function
      • getETransferDerivative

        public java.util.function.ToDoubleFunction<java.lang.Double> getETransferDerivative()
        Description copied from class: ElementwiseActivation
        Return the function to transfer derivative that will be applied to each element.
        Specified by:
        getETransferDerivative in class ElementwiseActivation
        Returns:
        the function
      • toString

        public java.lang.String toString()
        Description copied from class: Activation
        Get a string representation.
        Specified by:
        toString in class Activation
        Returns:
        the string