public interface Instrumentation
Modifier and Type | Field and Description |
---|---|
static String |
CREATED |
static String |
DESTROYED |
Modifier and Type | Method and Description |
---|---|
Collection<LogEntry> |
getDestroyed()
Get the destroyed ndarrays
|
Collection<LogEntry> |
getStillAlive()
Get the still alive ndarrays
|
boolean |
isDestroyed(String id)
Returns whether the given ndarray has been destroyed
|
void |
log(DataBuffer buffer)
Data buffer to log
|
void |
log(DataBuffer buffer,
String status)
Data buffer to log
|
void |
log(INDArray toLog)
Log the given ndarray
|
void |
log(INDArray toLog,
String status)
Log the given ndarray
|
static final String DESTROYED
static final String CREATED
void log(INDArray toLog, String status)
toLog
- the ndarray to logstatus
- the statusvoid log(DataBuffer buffer, String status)
buffer
- the buffer to logstatus
- the statusvoid log(INDArray toLog)
toLog
- the ndarray to logvoid log(DataBuffer buffer)
buffer
- the buffer to logCollection<LogEntry> getStillAlive()
Collection<LogEntry> getDestroyed()
boolean isDestroyed(String id)
id
- the id to checkCopyright © 2017. All rights reserved.