public class ConvolutionUtils extends Object
Modifier and Type | Method and Description |
---|---|
static int[] |
getHeightAndWidth(int[] shape)
Get the height and width
for an image
|
static int[] |
getHeightAndWidth(NeuralNetConfiguration conf)
Get the height and width
from the configuration
|
static int |
numChannels(int[] shape)
Returns the number of
feature maps for a given shape (must be at least 3 dimensions
|
static int |
numFeatureMap(NeuralNetConfiguration conf) |
public static int[] getHeightAndWidth(NeuralNetConfiguration conf)
conf
- the configuration to get height and width frompublic static int numFeatureMap(NeuralNetConfiguration conf)
conf
- the configuration to get
the number of kernels frompublic static int[] getHeightAndWidth(int[] shape)
shape
- the shape of the imagepublic static int numChannels(int[] shape)
shape
- the shape to get the
number of feature maps forCopyright © 2016. All Rights Reserved.