RawOp

public abstract class RawOp
Known Direct Subclasses

A base class for Op implementations that are backed by a single Operation.

Each operation registered in the TensorFlow core is provided as a RawOp. Custom operations working with only a single operation may also derive from this class.

Public Methods

final boolean
equals(Object obj)
final int
Operation
op()
Return this unit of computation as a single Operation.
final String

Inherited Methods

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.

Public Methods

public final boolean equals (Object obj)

public final int hashCode ()

public Operation op ()

Return this unit of computation as a single Operation.

For a raw op, the returned value correspond to the TensorFlow operation wrapped by this op.

For a composite op, the returned value usually correspond to the last operation invoked in a chain or to a NoOp grouping one or more operations as a single unit of computation.

Returns

public final String toString ()