public abstract class BaseOutputLayer extends FeedForwardLayer
Modifier and Type | Class and Description |
---|---|
static class |
BaseOutputLayer.Builder<T extends BaseOutputLayer.Builder<T>> |
Modifier and Type | Field and Description |
---|---|
protected boolean |
hasBias |
protected org.nd4j.linalg.lossfunctions.ILossFunction |
lossFn |
nIn, nOut
activationFn, biasInit, biasUpdater, dist, gradientNormalization, gradientNormalizationThreshold, iUpdater, l1, l1Bias, l2, l2Bias, weightInit, weightNoise
constraints, iDropout, layerName
Modifier | Constructor and Description |
---|---|
protected |
BaseOutputLayer(BaseOutputLayer.Builder builder) |
Modifier and Type | Method and Description |
---|---|
LayerMemoryReport |
getMemoryReport(InputType inputType)
This is a report of the estimated memory consumption for the given layer
|
boolean |
hasBias() |
getL1ByParam, getL2ByParam, getOutputType, getPreProcessorForInputType, isPretrainParam, setNIn
clone, getUpdaterByParam, resetLayerDefaultConfig
initializeConstraints, initializer, instantiate
protected org.nd4j.linalg.lossfunctions.ILossFunction lossFn
protected boolean hasBias
protected BaseOutputLayer(BaseOutputLayer.Builder builder)
public boolean hasBias()
public LayerMemoryReport getMemoryReport(InputType inputType)
Layer
getMemoryReport
in class Layer
inputType
- Input type to the layer. Memory consumption is often a function of the input typeCopyright © 2018. All rights reserved.