Op

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

すべての操作ラッパーのマーカーインターフェイス。

オペレーションラッパーは、コアクラスで必要とされるリテラルとインデックスを使用せずに、構築および実行操作のために強く型付けされたインターフェイスを提供します。

このインターフェイスにより、共通のタイプを使用して任意の操作ラッパーへの参照を保持できます。

// 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);