TPUExecute

public final class TPUExecute

Op that loads and executes a TPU program on a TPU device.

For the internal use of the distributed TPU compiler.

Public Methods

static TPUExecute
create(Scope scope, Iterable<Operand<?>> args, Operand<String> key, List<Class<?>> Tresults)
Factory method to create a class wrapping a new TPUExecute operation.
Iterator<Operand<Object>>
List<Output<?>>

Inherited Methods

org.tensorflow.op.PrimitiveOp
final boolean
equals(Object obj)
final int
Operation
op()
Returns the underlying 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()
void
forEach(Consumer<? super T> arg0)
abstract Iterator<Operand<Object>>
iterator()
Spliterator<Operand<Object>>
spliterator()

Public Methods

public static TPUExecute create (Scope scope, Iterable<Operand<?>> args, Operand<String> key, List<Class<?>> Tresults)

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

Parameters
scope current scope
Returns
  • a new instance of TPUExecute

public Iterator<Operand<Object>> iterator ()

public List<Output<?>> results ()