Op

공개 인터페이스 Op
알려진 간접 하위 클래스

A logical unit of computation.

Op implementations provide a strongly typed API for building and executing operations without the use of literals and indexes, as required in internal classes like Operation .

Ops can be classified under two categories:

  • Raw ops target a single TensorFlow operation and are, in most cases, generated automatically from the OpDef proto definitions exposed by TensorFlow runtime library.
  • Composite ops execute a series of other ops to accomplish a task logically presented as a single unit of computation.

공개 방법

추상 실행환경
환경 ()
이 작업이 생성된 실행 환경을 반환합니다.
추상적인 작업
op ()
이 계산 단위를 단일 Operation 으로 반환합니다.

공개 방법

public abstract ExecutionEnvironment env ()

이 작업이 생성된 실행 환경을 반환합니다.

public abstract Operation op ()

이 계산 단위를 단일 Operation 으로 반환합니다.

For a raw op, the returned value correspond to the TensorFlow operation wrapped by this op.

For a composite op, the returned value usually correspond to the last operation invoked in a chain or to a NoOp grouping one or more operations as a single unit of computation.

보고