com.github.romualdrousseau.shuju.ml.nn.ActivationFunc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shuju Show documentation
Show all versions of shuju Show documentation
Collection of various algorithms implemented in Java covering domains such as mathematics and data science.
package com.github.romualdrousseau.shuju.ml.nn;
import com.github.romualdrousseau.shuju.math.Tensor2D;
public interface ActivationFunc {
Tensor2D apply(Tensor2D x);
Tensor2D derivate(Tensor2D y);
}