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

,
공용 인터페이스 작업
알려진 간접 하위 클래스

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