public class TFOpLayerImpl extends AbstractLayer<TFOpLayer>
Layer.TrainingMode, Layer.TypecacheMode, conf, dataType, dropoutApplied, epochCount, index, input, inputModificationAllowed, iterationCount, maskArray, maskState, preOutput, trainingListeners| Constructor and Description |
|---|
TFOpLayerImpl(Map nodeDef,
Map constants,
NeuralNetConfiguration conf,
DataType dtype) |
| Modifier and Type | Method and Description |
|---|---|
INDArray |
activate(boolean training,
LayerWorkspaceMgr workspaceMgr) |
org.nd4j.common.primitives.Pair<Gradient,INDArray> |
backpropGradient(INDArray epsilon,
LayerWorkspaceMgr workspaceMgr) |
void |
clearNoiseWeightParams() |
long[] |
getOutputShape(long[] inputShape) |
boolean |
isPretrainLayer() |
activate, addListeners, allowInputModification, applyConstraints, applyDropOutIfNecessary, applyMask, assertInputSet, backpropDropOutIfPresent, batchSize, calcRegularizationScore, canEqual, clear, close, computeGradientAndScore, conf, equals, feedForwardMaskArray, fit, fit, getCacheMode, getConf, getConfig, getDataType, getEpochCount, getGradientsViewArray, getHelper, getIndex, getInput, getInputMiniBatchSize, getIterationCount, getListeners, getMaskArray, getMaskState, getOptimizer, getParam, getPreOutput, getTrainingListeners, gradient, gradientAndScore, hashCode, init, input, isDropoutApplied, isInputModificationAllowed, layerConf, layerId, numParams, numParams, params, paramTable, paramTable, score, setBackpropGradientsViewArray, setCacheMode, setConf, setDataType, setDropoutApplied, setEpochCount, setIndex, setInput, setInputMiniBatchSize, setInputModificationAllowed, setIterationCount, setListeners, setListeners, setMaskArray, setMaskState, setParam, setParams, setParams, setParamsViewArray, setParamTable, setPreOutput, setTrainingListeners, toString, type, update, update, updaterDivideByMinibatchpublic TFOpLayerImpl(Map nodeDef, Map constants, NeuralNetConfiguration conf, DataType dtype)
public org.nd4j.common.primitives.Pair<Gradient,INDArray> backpropGradient(INDArray epsilon, LayerWorkspaceMgr workspaceMgr)
public long[] getOutputShape(long[] inputShape)
public INDArray activate(boolean training, LayerWorkspaceMgr workspaceMgr)
public boolean isPretrainLayer()
public void clearNoiseWeightParams()
Copyright © 2021. All rights reserved.