public class DL4JSameDiffMemoryMgr extends AbstractMemoryMgr
Constructor and Description |
---|
DL4JSameDiffMemoryMgr(String workingMemoryWs,
String outputWs,
WorkspaceConfiguration confWorking,
WorkspaceConfiguration confOutput) |
Modifier and Type | Method and Description |
---|---|
INDArray |
allocate(boolean detached,
DataType dataType,
long... shape) |
INDArray |
allocate(boolean detached,
LongShapeDescriptor descriptor) |
void |
close() |
void |
release(INDArray array) |
dup, ulike
public DL4JSameDiffMemoryMgr(String workingMemoryWs, String outputWs, WorkspaceConfiguration confWorking, WorkspaceConfiguration confOutput)
public INDArray allocate(boolean detached, LongShapeDescriptor descriptor)
public void release(INDArray array)
public void close()
Copyright © 2022. All rights reserved.