AbstractCriterion is an abstract class the concrete criterion should extend.
Module is the basic component of a neural network.
Activity is a trait which represents the concept of neural input within neural networks.
DataFormat are used to specify the data format of the input and output data when data is 2-D images.
The trait that contains setInitMethod
TensorCriterion is an abstract sub-class of AbstractCriterion, whose input and output type both are Tensor.
TensorModule is an abstract sub-class of AbstractModule, whose input and output type both are Tensor.