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 @Operator s. 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