| Modifier and Type | Method and Description |
|---|---|
Operation |
At.operation() |
static Operation |
Operation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Operation[] |
Operation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
At |
At.copy(Operation operation) |
static At |
At.defaultAt(@NonNull Operation op) |
boolean |
Listener.isActive(Operation operation)
Returns whether this listener is active during the given operation.
|
void |
BaseListener.operationEnd(SameDiff sd,
Operation op) |
void |
Listener.operationEnd(SameDiff sd,
Operation op)
Called at the end of an operation, e.g.
|
void |
BaseListener.operationStart(SameDiff sd,
Operation op) |
void |
Listener.operationStart(SameDiff sd,
Operation op)
Called at the start of an operation, e.g.
|
Set<String> |
ListenerVariables.requiredVariables(Operation op)
Get required variables for specified op
|
ListenerVariables.Builder |
ListenerVariables.Builder.requireVariables(@NonNull Operation op,
SDVariable... variables)
Add required variables for the specified op
|
ListenerVariables.Builder |
ListenerVariables.Builder.requireVariables(@NonNull Operation op,
String... variables)
Add required variables for the specified op
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CheckpointListener.isActive(Operation operation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ArraySavingListener.isActive(Operation operation) |
boolean |
ExecDebuggingListener.isActive(Operation operation) |
boolean |
OpBenchmarkListener.isActive(Operation operation) |
void |
OpBenchmarkListener.operationEnd(SameDiff sd,
Operation op) |
void |
OpBenchmarkListener.operationStart(SameDiff sd,
Operation op) |
| Constructor and Description |
|---|
OpBenchmarkListener(Operation operation,
@NonNull OpBenchmarkListener.Mode mode) |
OpBenchmarkListener(Operation operation,
@NonNull OpBenchmarkListener.Mode mode,
long minRuntime) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
HistoryListener.isActive(Operation operation) |
boolean |
ScoreListener.isActive(Operation operation) |
boolean |
UIListener.isActive(Operation operation) |
void |
HistoryListener.operationEnd(SameDiff sd,
Operation op) |
void |
HistoryListener.operationStart(SameDiff sd,
Operation op) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ProfilingListener.isActive(Operation operation) |
void |
ProfilingListener.operationEnd(SameDiff sd,
Operation op) |
ProfilingListener.Builder |
ProfilingListener.Builder.operations(Operation... operations)
Specify the operations (training, inference, etc) to profile.
|
void |
ProfilingListener.operationStart(SameDiff sd,
Operation op) |
| Constructor and Description |
|---|
ProfilingListener(@NonNull File outputFile,
boolean all,
int warmup,
int nIter,
long nMs,
Operation[] operations) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,INDArray> |
SameDiff.batchOutputHelper(Map<String,INDArray> placeholders,
List<Listener> listeners,
Operation operation,
String... outputs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ActivationGradientCheckListener.isActive(Operation operation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
NonInplaceValidationListener.isActive(Operation operation) |
Copyright © 2021. All rights reserved.