警告:このAPIは非推奨であり、置き換えが安定した後 TensorFlowの将来のバージョンで削除される予定です。

Op

パブリックインターフェイスOp
既知の間接サブクラス

A marker interface for all operation wrappers.

Operation wrappers provide strongly typed interfaces for building and execution operations without the use of literals and indexes, as required in the core classes.

This interface allows keeping references to any operation wrapper using a common type.

// All values returned by an Ops call can be referred as a Op
 Op split = ops.array().split(...);
 Op shape = ops.array().shape(...);

 // All operations could be added to an Op collection
 Collection<Op> allOps = Arrays.asList(split, shape);