Package org.nd4j.linalg.api.memory
Interface Deallocatable
-
- All Known Subinterfaces:
MemoryWorkspace
- All Known Implementing Classes:
DummyWorkspace
,Nd4jWorkspace
public interface Deallocatable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Deallocator
deallocator()
This method returns deallocator associated with this instanceString
getUniqueId()
This method returns unique ID for this instanceint
targetDevice()
This method returns deviceId it's affined with, so deallocator thread will be guaranteed to match it
-
-
-
Method Detail
-
getUniqueId
String getUniqueId()
This method returns unique ID for this instance- Returns:
-
deallocator
Deallocator deallocator()
This method returns deallocator associated with this instance- Returns:
-
targetDevice
int targetDevice()
This method returns deviceId it's affined with, so deallocator thread will be guaranteed to match it
-
-