@Documented @Target(value=TYPE) @Retention(value=SOURCE) public @interface Operator
org.tensorflow.op.Ops.
An annotation processor (TODO: not yet implemented) 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:
{@codepublic abstract String group
Ops class.
By default, an annotation processor will create convenience methods directly in the Ops class. An annotated operator may optionally choose to place the method within a group. For
example:
{@codepublic abstract String name
Ops class.
By default, a processor derives the method name in the Ops class from the class name
of the operator. This attribute allow you to provide a different name instead. For example:
{@codeCopyright © 2015–2019. All rights reserved.