RemoteFusedGraphExecute

public final class RemoteFusedGraphExecute

Execute a sub graph on a remote processor.

The graph specifications(such as graph itself, input tensors and output names) are stored as a serialized protocol buffer of RemoteFusedGraphExecuteInfo as serialized_remote_fused_graph_execute_info. The specifications will be passed to a dedicated registered remote fused graph executor. The executor will send the graph specifications to a remote processor and execute that graph. The execution results will be passed to consumer nodes as outputs of this node.

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

static RemoteFusedGraphExecute
create(Scope scope, Iterable<Operand<?>> inputs, List<Class<? extends TType>> Toutputs, String serializedRemoteFusedGraphExecuteInfo)
Factory method to create a class wrapping a new RemoteFusedGraphExecute operation.
Iterator<Operand<TType>>
List<Output<?>>
outputs()
Arbitrary number of tensors with arbitrary data types

Inherited Methods

org.tensorflow.op.RawOp
final boolean
equals(Object obj)
final int
Operation
op()
Return this unit of computation as a single Operation.
final String
boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()
org.tensorflow.op.Op
abstract ExecutionEnvironment
env()
Return the execution environment this op was created in.
abstract Operation
op()
Return this unit of computation as a single Operation.
abstract void
forEach(Consumer<? super T> arg0)
abstract Iterator<Operand<TType>>
iterator()
abstract Spliterator<Operand<TType>>
spliterator()

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "RemoteFusedGraphExecute"

Public Methods

public static RemoteFusedGraphExecute create (Scope scope, Iterable<Operand<?>> inputs, List<Class<? extends TType>> Toutputs, String serializedRemoteFusedGraphExecuteInfo)

Factory method to create a class wrapping a new RemoteFusedGraphExecute operation.

Parameters
scope current scope
inputs Arbitrary number of tensors with arbitrary data types
serializedRemoteFusedGraphExecuteInfo Serialized protocol buffer of RemoteFusedGraphExecuteInfo which contains graph specifications.
Returns
  • a new instance of RemoteFusedGraphExecute

public Iterator<Operand<TType>> iterator ()

public List<Output<?>> outputs ()

Arbitrary number of tensors with arbitrary data types