Package | Description |
---|---|
deepnetts.net |
Neural network architectures with their corresponding builders.
|
Modifier and Type | Method and Description |
---|---|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.addConvolutionalLayer(int channelNum)
Adds a convolutional layer with the given number of channels(filters),
with default 3x3 filter size and default activation function.
|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.addConvolutionalLayer(int channelNum,
ActivationType activationType)
Adds a convolutional layer with the given number of channels(filters),
with given activation function type and default 3x3 filter size.
|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.addConvolutionalLayer(int channelNum,
Filter filter)
Adds a convolutional layer with the given number of channels(filters),
with given settings of a convolutional filter and default type of activation function.
|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.addConvolutionalLayer(int channelNum,
Filter filter,
ActivationType activationType)
Adds a convolutional layer with the given number of channels(filters),
with given settings of a convolutional filter and given type of activation function.
|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.addConvolutionalLayer(int channelNum,
int filterSize)
Adds a convolutional layer with the given number of channels(filters),
with given filter size (same width and height) and default activation function.
|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.addConvolutionalLayer(int channelNum,
int filterSize,
ActivationType activationType)
Adds a convolutional layer with the given number of channels(filters),
with given filter size (same width and height) and given type of activation function.
|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.addConvolutionalLayer(int channelNum,
int filterWidth,
int filterHeight)
Adds a convolutional layer with the given number of channels(filters),
with given width and height of convolutional filter and default type of activation function.
|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.addConvolutionalLayer(int filterWidth,
int filterHeight,
int channelNum,
int stride)
Adds a convolutional layer with the given width and height of convolutional filters,
given number of channels(filters) and stride(filter step), and default type of activation function.
|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.addConvolutionalLayer(int filterWidth,
int filterHeight,
int channelNum,
int stride,
ActivationType activationType)
Adds a convolutional layer with the given width and height of convolutional filters,
given number of channels(filters) and stride(filter step), and given type of activation function.
|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.addFullyConnectedLayer(int layerWidth)
Adds fully connected layer with specified width and default activation function.
|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.addFullyConnectedLayer(int layerWidth,
ActivationType activationType)
Adds fully connected layer with specified width and activation function.
|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.addInputLayer(int width,
int height)
Input layer with specified width and height, and 3 channels by
default.
|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.addInputLayer(int width,
int height,
int channels)
Input layer with specified width, height and number of channels (depth).
|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.addLayer(AbstractLayer layer)
Adds a given layer to the network.
|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.addMaxPoolingLayer(Filter filter)
Adds a max pooling layer with the given filter settings.Max pooling layer comes after convolutional layer and reduces the dimensions of the input received from the previous layer.
|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.addMaxPoolingLayer(int filterSize) |
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.addMaxPoolingLayer(int filterSize,
int stride)
Adds a max pooling layer with given filter size and stride(filter step).
|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.addMaxPoolingLayer(int filterWidth,
int filterHeight,
int stride)
Adds a max pooling layer with given filter size and stride(filter step).Max pooling layer comes after convolutional layer and reduces the dimensions of the input received from the previous layer.Typically filter sizes of 2 are used, which effectively halves the dimensions of the input from the previous layer.
|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.addOutputLayer(int layerWidth,
ActivationType activationType)
Adds output layer to the neural network with specified width (number of outputs) and activation function type.
|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.addOutputLayer(int layerWidth,
Class<? extends OutputLayer> clazz)
Adds output layer to the neural network with specified width (number of outputs) and layer class.
|
static ConvolutionalNetwork.Builder |
ConvolutionalNetwork.builder()
Returns a builder for the
ConvolutionalNetwork |
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.hiddenActivationFunction(ActivationType activationType)
Sets default type of the activation function to use for all hidden layers in the network.
|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.lossFunction(Class<? extends LossFunction> clazz) |
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.lossFunction(LossType lossType)
Sets loss function to be used by created neural network.
|
ConvolutionalNetwork.Builder |
ConvolutionalNetwork.Builder.randomSeed(long seed)
Initializes random number generator with the specified seed in order to
get same random number sequences used for weights initialization.
|
Copyright © 2022. All rights reserved.