Package org.deeplearning4j.nn.layers
Interface LayerHelper
-
- All Known Subinterfaces:
BatchNormalizationHelper,ConvolutionHelper,DropoutHelper,LocalResponseNormalizationHelper,LSTMHelper,SubsamplingHelper
- All Known Implementing Classes:
MKLDNNBatchNormHelper,MKLDNNConvHelper,MKLDNNLocalResponseNormalizationHelper,MKLDNNSubsamplingHelper
public interface LayerHelper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancheckSupported()Map<String,Long>helperMemoryUse()Return the currently allocated memory for the helper.
(a) Excludes: any shared memory used by multiple helpers/layers
(b) Excludes any temporary memory (c) Includes all memory that persists for longer than the helper method
This is mainly used for debugging and reporting purposes.
-
-
-
Method Detail
-
helperMemoryUse
Map<String,Long> helperMemoryUse()
Return the currently allocated memory for the helper.
(a) Excludes: any shared memory used by multiple helpers/layers
(b) Excludes any temporary memory (c) Includes all memory that persists for longer than the helper method
This is mainly used for debugging and reporting purposes. Returns a map:
Key: The name of the type of memory
Value: The amount of memory- Returns:
- Map of memory, may be null if none is used.
-
checkSupported
boolean checkSupported()
-
-