Package io.github.kirstenali.deepj.nn
Class Flatten
java.lang.Object
io.github.kirstenali.deepj.nn.Module
io.github.kirstenali.deepj.nn.Flatten
Flattens an inclusive axis range; defaults to preserving the first (batch) axis.
-
Constructor Summary
Constructors -
Method Summary
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
-
Flatten
public Flatten() -
Flatten
public Flatten(int first, int last)
-
-
Method Details
-
forward
-