Package io.github.kirstenali.deepj.nn
Class BatchNorm
java.lang.Object
io.github.kirstenali.deepj.nn.Module
io.github.kirstenali.deepj.nn.BatchNorm
Channel-axis (axis 1) normalization, using backend reductions and persistent FLOAT32 running statistics.
-
Constructor Summary
ConstructorsConstructorDescriptionBatchNorm(int channels) BatchNorm(int channels, float epsilon, float momentum, ParameterFactory parameters) -
Method Summary
Modifier and TypeMethodDescriptionbuffers()Persistent non-parameter tensors, in deterministic traversal order.Methods inherited from class io.github.kirstenali.deepj.nn.Module
children, eval, isTraining, 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
-
BatchNorm
public BatchNorm(int channels) -
BatchNorm
-
-
Method Details
-
parameters
- Specified by:
parametersin interfaceTrainable- Overrides:
parametersin classModule
-
buffers
Description copied from class:ModulePersistent non-parameter tensors, in deterministic traversal order. -
runningMean
-
runningVariance
-
forward
-