Package io.github.kirstenali.deepj.nn
Class Activation
java.lang.Object
io.github.kirstenali.deepj.nn.Module
io.github.kirstenali.deepj.nn.Activation
Adapts DeepJ activations to the existing Layer contract.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Activationgelu()static Activationrelu()static Activationsigmoid()static Activationsoftmax(int axis) static Activationtanh()Methods inherited from class io.github.kirstenali.deepj.nn.Module
buffers, children, eval, isTraining, parameters, setTraining, trainMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.kirstenali.deepj.layers.Layer
forward, supportsIncrementalInference
-
Constructor Details
-
Activation
-
-
Method Details
-
relu
-
gelu
-
sigmoid
-
tanh
-
softmax
-
forward
-