PrimitiveOp

public abstract class PrimitiveOp
Known Direct Subclasses

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

Each operation registered in the TensorFlow core is a primitive and is provided as a PrimitiveOp. Custom operations working with only one primitive may also derive from this class.

Public Methods

final boolean
equals(Object obj)
final int
Operation
op()
Returns the underlying 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()

Public Methods

public final boolean equals (Object obj)

Parameters
obj

public final int hashCode ()

public Operation op ()

Returns the underlying Operation

public final String toString ()