Class ElementwiseActivation

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.function.Consumer<Matrix> getActivation()
      Returns a function that applies on each element.
      abstract java.util.function.ToDoubleFunction<java.lang.Double> getEActivation()
      Get the function that will be applied to each element.
      abstract java.util.function.ToDoubleFunction<java.lang.Double> getETransferDerivative()
      Return the function to transfer derivative that will be applied to each element.
      java.util.function.Function<Matrix,​Matrix> getTransferDerivative()
      Return a function that will transfer derivative on each element.
      • Methods inherited from class java.lang.Object

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

      • ElementwiseActivation

        public ElementwiseActivation()
    • Method Detail

      • getActivation

        public java.util.function.Consumer<Matrix> getActivation()
        Returns a function that applies on each element.
        Specified by:
        getActivation in class Activation
        Returns:
        the function
      • getTransferDerivative

        public java.util.function.Function<Matrix,​Matrix> getTransferDerivative()
        Return a function that will transfer derivative on each element.
        Specified by:
        getTransferDerivative in class Activation
        Returns:
        the function
      • getEActivation

        public abstract java.util.function.ToDoubleFunction<java.lang.Double> getEActivation()
        Get the function that will be applied to each element.
        Returns:
        the function
      • getETransferDerivative

        public abstract java.util.function.ToDoubleFunction<java.lang.Double> getETransferDerivative()
        Return the function to transfer derivative that will be applied to each element.
        Returns:
        the function