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
|
static void |
WorkspaceUtils.assertNoWorkspacesOpen(String msg,
boolean allowScopedOut) |
Assert that no workspaces are currently open
|
void |
BaseWorkspaceMgr.assertOpen(T arrayType,
String msg) |
|
void |
WorkspaceMgr.assertOpen(T arrayType,
String msg) |
Assert thath the workspace for the specified array type is open.
|
static void |
WorkspaceUtils.assertOpenActiveAndCurrent(@NonNull String ws,
@NonNull String errorMsg) |
Assert that the specified workspace is open, active, and is the current workspace
|
static void |
WorkspaceUtils.assertOpenAndActive(@NonNull String ws,
@NonNull 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
|