Warning: This API is deprecated and will be removed in a future version of TensorFlow after the replacement is stable.

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

Public Methods

public final boolean equals (Object obj)

public final int hashCode ()

public Operation op ()

Returns the underlying Operation

public final String toString ()