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
abstract Class<? extends Annotation> |
annotationType
()
|
abstract boolean |
equals
(Object arg0)
|
abstract int |
hashCode
()
|
abstract String |
toString
()
|