Uses of Class
org.deeplearning4j.nn.api.FwdPassType
-
Packages that use FwdPassType Package Description org.deeplearning4j.nn.api org.deeplearning4j.nn.graph org.deeplearning4j.nn.multilayer -
-
Uses of FwdPassType in org.deeplearning4j.nn.api
Methods in org.deeplearning4j.nn.api that return FwdPassType Modifier and Type Method Description static FwdPassTypeFwdPassType. valueOf(String name)Returns the enum constant of this type with the specified name.static FwdPassType[]FwdPassType. values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of FwdPassType in org.deeplearning4j.nn.graph
Methods in org.deeplearning4j.nn.graph with parameters of type FwdPassType Modifier and Type Method Description protected Map<String,INDArray>ComputationGraph. ffToLayerActivationsDetached(boolean train, @NonNull FwdPassType fwdPassType, boolean storeLastForTBPTT, int layerIndex, int[] excludeIdxs, @NonNull INDArray[] features, INDArray[] fMask, INDArray[] lMask, boolean clearLayers)Feed-forward through the network - returning all array activations detached from any workspace.protected Map<String,INDArray>ComputationGraph. ffToLayerActivationsInWS(boolean train, int layerIndex, int[] excludeIdxs, FwdPassType fwdPassType, boolean storeLastForTBPTT, INDArray[] input, INDArray[] fMask, INDArray[] lMask, boolean clearInputs)Feed-forward through the network - if workspaces are used, all returned activations will be present in workspace WS_ALL_LAYERS_ACT.
Note: if using workspaces for training, requires that WS_ALL_LAYERS_ACT is open externally.protected INDArray[]ComputationGraph. outputOfLayersDetached(boolean train, @NonNull FwdPassType fwdPassType, @lombok.NonNull int[] layerIndexes, @NonNull INDArray[] features, INDArray[] fMask, INDArray[] lMasks, boolean clearLayerInputs, boolean detachedInputs, MemoryWorkspace outputWorkspace)Provide the output of the specified layers, detached from any workspace. -
Uses of FwdPassType in org.deeplearning4j.nn.multilayer
Methods in org.deeplearning4j.nn.multilayer with parameters of type FwdPassType Modifier and Type Method Description protected List<INDArray>MultiLayerNetwork. ffToLayerActivationsDetached(boolean train, @NonNull FwdPassType fwdPassType, boolean storeLastForTBPTT, int layerIndex, @NonNull INDArray input, INDArray fMask, INDArray lMask, boolean clearInputs)Feed-forward through the network - returning all array activations in a list, detached from any workspace.protected List<INDArray>MultiLayerNetwork. ffToLayerActivationsInWs(int layerIndex, @NonNull FwdPassType fwdPassType, boolean storeLastForTBPTT, @NonNull INDArray input, INDArray fMask, INDArray lMask)Feed-forward through the network at training time - returning a list of all activations in a workspace (WS_ALL_LAYERS_ACT) if workspaces are enabled for training; or detached if no workspaces are used.
Note: if using workspaces for training, this method requires that WS_ALL_LAYERS_ACT is open externally.
If using NO workspaces, requires that no external workspace is open
Note that this method does NOT clear the inputs to each layer - instead, they are in the WS_ALL_LAYERS_ACT workspace for use in later backprop.protected INDArrayMultiLayerNetwork. outputOfLayerDetached(boolean train, @NonNull FwdPassType fwdPassType, int layerIndex, @NonNull INDArray input, INDArray featureMask, INDArray labelsMask, MemoryWorkspace outputWorkspace)Provide the output of the specified layer, detached from any workspace.
-