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

Operator

public abstract @interface Operator

Annotation used by classes to make TensorFlow operations conveniently accessible via org.tensorflow.op.Ops.

An annotation processor (org.tensorflow.processor.OperatorProcessor) builds the Ops class by aggregating all classes annotated as @Operators. Each annotated class must have at least one public static factory method named create that accepts a Scope as its first argument. The processor then adds a convenience method in the Ops class. For example:

{@code

Inherited Methods