| Package | Description |
|---|---|
| org.nd4j.linalg.workspace |
| Modifier and Type | Method and Description |
|---|---|
void |
WorkspaceMgr.assertCurrentWorkspace(T arrayType,
String msg)
Assert that the current workspace is the one for the specified array type.
|
void |
WorkspaceMgr.assertNotOpen(T arrayType,
String msg)
Assert thath the workspace for the specified array type is not open.
|
static void |
WorkspaceUtils.assertNoWorkspacesOpen(String msg)
Assert that no workspaces are currently open
|
void |
WorkspaceMgr.assertOpen(T arrayType,
String msg)
Assert thath the workspace for the specified array type is open.
|
void |
BaseWorkspaceMgr.assertOpen(T arrayType,
String msg) |
static void |
WorkspaceUtils.assertOpenActiveAndCurrent(String ws,
String errorMsg)
Assert that the specified workspace is open, active, and is the current workspace
|
static void |
WorkspaceUtils.assertOpenAndActive(String ws,
String errorMsg)
Assert that the specified workspace is open and active
|
INDArray |
WorkspaceMgr.validateArrayLocation(T arrayType,
INDArray array,
boolean migrateIfInvalid,
boolean exceptionIfDetached)
Validate that the specified array type is actually in the workspace it's supposed to be in
|
Copyright © 2018. All rights reserved.