| Package | Description |
|---|---|
| org.nd4j.linalg.api.memory | |
| org.nd4j.linalg.api.memory.abstracts | |
| org.nd4j.linalg.api.memory.enums |
| Modifier and Type | Method and Description |
|---|---|
PagedPointer |
MemoryWorkspace.alloc(long requiredMemory,
MemoryKind kind,
DataType dataType,
boolean initialize)
This method does allocation from a given Workspace
|
org.bytedeco.javacpp.Pointer |
BasicMemoryManager.allocate(long bytes,
MemoryKind kind,
boolean initialize)
This method returns
PLEASE NOTE: Cache options
depend on specific implementations
|
org.bytedeco.javacpp.Pointer |
MemoryManager.allocate(long bytes,
MemoryKind kind,
boolean initialize)
This method returns pointer to allocated memory
PLEASE NOTE: Cache options depend on specific implementations
|
void |
MemoryManager.release(org.bytedeco.javacpp.Pointer pointer,
MemoryKind kind)
This method releases previously allocated memory chunk
|
| Modifier and Type | Method and Description |
|---|---|
PagedPointer |
DummyWorkspace.alloc(long requiredMemory,
MemoryKind kind,
DataType dataType,
boolean initialize)
This method does allocation from a given Workspace
|
PagedPointer |
Nd4jWorkspace.alloc(long requiredMemory,
MemoryKind kind,
DataType type,
boolean initialize) |
| Modifier and Type | Method and Description |
|---|---|
static MemoryKind |
MemoryKind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemoryKind[] |
MemoryKind.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2021. All rights reserved.