public interface GraphExecutioner
Modifier and Type | Interface and Description |
---|---|
static class |
GraphExecutioner.Type |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
convertToFlatBuffers(SameDiff diff,
ExecutorConfiguration configuration)
This method converts given SameDiff instance to FlatBuffers representation
|
INDArray[] |
executeGraph(int id,
SDVariable... variables)
This method executes
|
INDArray[] |
executeGraph(SameDiff graph) |
INDArray[] |
executeGraph(SameDiff graph,
ExecutorConfiguration configuration)
This method executes given graph and returns results
|
GraphExecutioner.Type |
getExecutionerType()
This method returns Type of this executioner
|
INDArray[] |
importProto(File file)
This method executes TF graph
PLEASE NOTE: This feature is under development yet
|
int |
registerGraph(SameDiff graph)
This method stores given graph for future execution
|
INDArray[] |
reuseGraph(SameDiff graph,
Map<Integer,INDArray> inputs) |
GraphExecutioner.Type getExecutionerType()
INDArray[] executeGraph(SameDiff graph, ExecutorConfiguration configuration)
graph
- ByteBuffer convertToFlatBuffers(SameDiff diff, ExecutorConfiguration configuration)
diff
- INDArray[] executeGraph(int id, SDVariable... variables)
id
- variables
- int registerGraph(SameDiff graph)
graph
- Copyright © 2020. All rights reserved.