Package org.nd4j.linalg.api.memory.conf
Class WorkspaceConfiguration
- java.lang.Object
-
- org.nd4j.linalg.api.memory.conf.WorkspaceConfiguration
-
- All Implemented Interfaces:
Serializable
public class WorkspaceConfiguration extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected intcyclesBeforeInitializationFor workspaces with learnable size, this variable defines how many cycles will be spent during learning phaseprotected longinitialSizeThis variable specifies amount of memory allocated for this workspace during initializationprotected longmaxSizeThis variable specifies maximal workspace sizeprotected longminSizeThis variable specifies minimal workspace sizeprotected doubleoverallocationLimitIf OVERALLOCATION policy is set, memory will be overallocated in addition to initialSize of learned sizeprotected AllocationPolicypolicyAllocationprotected LearningPolicypolicyLearningprotected LocationPolicypolicyLocationprotected MirroringPolicypolicyMirroringprotected ResetPolicypolicyResetprotected SpillPolicypolicySpillprotected intstepsNumberThis value is used only for circular workspacesprotected StringtempFilePathPath to file to be memory-mapped
-
Constructor Summary
Constructors Constructor Description WorkspaceConfiguration()
-
-
-
Field Detail
-
policyAllocation
protected AllocationPolicy policyAllocation
-
policySpill
protected SpillPolicy policySpill
-
policyMirroring
protected MirroringPolicy policyMirroring
-
policyLearning
protected LearningPolicy policyLearning
-
policyReset
protected ResetPolicy policyReset
-
policyLocation
protected LocationPolicy policyLocation
-
tempFilePath
protected String tempFilePath
Path to file to be memory-mapped
-
initialSize
protected long initialSize
This variable specifies amount of memory allocated for this workspace during initialization
-
minSize
protected long minSize
This variable specifies minimal workspace size
-
maxSize
protected long maxSize
This variable specifies maximal workspace size
-
cyclesBeforeInitialization
protected int cyclesBeforeInitialization
For workspaces with learnable size, this variable defines how many cycles will be spent during learning phase
-
overallocationLimit
protected double overallocationLimit
If OVERALLOCATION policy is set, memory will be overallocated in addition to initialSize of learned size
-
stepsNumber
protected int stepsNumber
This value is used only for circular workspaces
-
-