public class DenseLayer extends FeedForwardLayer
| Modifier and Type | Class and Description |
|---|---|
static class |
DenseLayer.Builder |
nIn, nOut, timeDistributedFormatactivationFn, biasInit, biasUpdater, gainInit, gradientNormalization, gradientNormalizationThreshold, iUpdater, regularization, regularizationBias, weightInitFn, weightNoiseconstraints, iDropout, layerName| 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() |
boolean |
hasLayerNorm() |
ParamInitializer |
initializer() |
Layer |
instantiate(NeuralNetConfiguration conf,
Collection<TrainingListener> trainingListeners,
int layerIndex,
INDArray layerParamsView,
boolean initializeParams,
DataType networkDataType) |
getOutputType, getPreProcessorForInputType, isPretrainParam, setNInclone, getGradientNormalization, getRegularizationByParam, getUpdaterByParam, resetLayerDefaultConfiginitializeConstraints, setDataTypeequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGradientNormalizationThreshold, getLayerNamepublic Layer instantiate(NeuralNetConfiguration conf, Collection<TrainingListener> trainingListeners, int layerIndex, INDArray layerParamsView, boolean initializeParams, DataType networkDataType)
instantiate in class Layerpublic ParamInitializer initializer()
initializer in class Layerpublic LayerMemoryReport getMemoryReport(InputType inputType)
LayergetMemoryReport in class LayerinputType - Input type to the layer. Memory consumption is often a function of the input
typepublic boolean hasBias()
public boolean hasLayerNorm()
Copyright © 2022. All rights reserved.