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

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 ()