| Modifier and Type | Method and Description |
|---|---|
void |
BaseEvaluationListener.activationAvailable(SameDiff sd,
At at,
MultiDataSet batch,
SameDiffOp op,
String varName,
INDArray activation) |
void |
BaseListener.activationAvailable(SameDiff sd,
At at,
MultiDataSet batch,
SameDiffOp op,
String varName,
INDArray activation) |
void |
Listener.activationAvailable(SameDiff sd,
At at,
MultiDataSet batch,
SameDiffOp op,
String varName,
INDArray activation)
Called when any activation becomes available.
|
void |
BaseEvaluationListener.activationAvailableEvaluations(SameDiff sd,
At at,
MultiDataSet batch,
SameDiffOp op,
String varName,
INDArray activation)
|
void |
BaseListener.opExecution(SameDiff sd,
At at,
MultiDataSet batch,
SameDiffOp op,
OpContext opContext,
INDArray[] outputs) |
void |
Listener.opExecution(SameDiff sd,
At at,
MultiDataSet batch,
SameDiffOp op,
OpContext opContext,
INDArray[] outputs)
Called at the end of each operation execution
|
void |
BaseListener.preOpExecution(SameDiff sd,
At at,
SameDiffOp op,
OpContext opContext) |
void |
Listener.preOpExecution(SameDiff sd,
At at,
SameDiffOp op,
OpContext opContext)
Called just before each operation is executed (native code called, etc) - after all inputs etc have been set
|
| Modifier and Type | Method and Description |
|---|---|
void |
ArraySavingListener.opExecution(SameDiff sd,
At at,
MultiDataSet batch,
SameDiffOp op,
OpContext opContext,
INDArray[] outputs) |
void |
OpBenchmarkListener.opExecution(SameDiff sd,
At at,
MultiDataSet batch,
SameDiffOp op,
OpContext opContext,
INDArray[] outputs) |
void |
ExecDebuggingListener.preOpExecution(SameDiff sd,
At at,
SameDiffOp op,
OpContext opContext) |
void |
OpBenchmarkListener.preOpExecution(SameDiff sd,
At at,
SameDiffOp op,
OpContext opContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
UIListener.opExecution(SameDiff sd,
At at,
MultiDataSet batch,
SameDiffOp op,
OpContext opContext,
INDArray[] outputs) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProfilingListener.opExecution(SameDiff sd,
At at,
MultiDataSet batch,
SameDiffOp op,
OpContext opContext,
INDArray[] outputs) |
void |
ProfilingListener.preOpExecution(SameDiff sd,
At at,
SameDiffOp op,
OpContext opContext) |
| Modifier and Type | Method and Description |
|---|---|
List<SameDiffOp> |
SameDiff.getOpsInScope(NameScope scope)
Gets all operations in a given name scope.
|
List<SameDiffOp> |
SameDiff.getOpsInScope(String scope)
|
| Modifier and Type | Method and Description |
|---|---|
void |
SameDiff.renameVariable(SameDiffOp opToReName,
String from,
String to)
Rename the specified variable to the new name.
|
SDVariable |
SameDiff.updateVariableNameAndReference(SameDiffOp opToRename,
SDVariable varToUpdate,
String newVarName)
Updates the variable name property on the passed in variable, the reference in samediff, and returns the variable.
|
| Modifier and Type | Method and Description |
|---|---|
Pair<SameDiffOp,OpContext> |
InferenceSession.getAndParameterizeOp(String opName,
FrameIter frameIter,
Set<AbstractSession.VarId> opInputs,
Set<AbstractSession.VarId> allIterInputs,
Set<String> constAndPhInputs,
Map<String,INDArray> placeholderValues,
Set<String> allReqVariables) |
| Modifier and Type | Method and Description |
|---|---|
INDArray[] |
InferenceSession.getOutputs(Pair<SameDiffOp,OpContext> opPair,
FrameIter outputFrameIter,
Set<AbstractSession.VarId> opInputs,
Set<AbstractSession.VarId> allIterInputs,
Set<String> constAndPhInputs,
List<Listener> listeners,
At at,
MultiDataSet batch,
Set<String> allReqVariables) |
INDArray[] |
TrainingSession.getOutputs(Pair<SameDiffOp,OpContext> opPair,
FrameIter outputFrameIter,
Set<AbstractSession.VarId> opInputs,
Set<AbstractSession.VarId> allIterInputs,
Set<String> constAndPhInputs,
List<Listener> listeners,
At at,
MultiDataSet batch,
Set<String> allReqVariables) |
| Modifier and Type | Method and Description |
|---|---|
void |
ActivationGradientCheckListener.opExecution(SameDiff sd,
At at,
MultiDataSet batch,
SameDiffOp op,
OpContext opContext,
INDArray[] outputs) |
| Modifier and Type | Method and Description |
|---|---|
void |
NonInplaceValidationListener.opExecution(SameDiff sd,
At at,
MultiDataSet batch,
SameDiffOp op,
OpContext opContext,
INDArray[] outputs) |
void |
NonInplaceValidationListener.preOpExecution(SameDiff sd,
At at,
SameDiffOp op,
OpContext oc) |
Copyright © 2021. All rights reserved.