Op

interfaz pública Op
Subclases indirectas conocidas

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.

Métodos públicos

entorno de ejecución abstracto
env ()
Devuelve el entorno de ejecución en el que se creó esta operación.
Operación abstracta
op ()
Devuelve esta unidad de cálculo como una sola Operation .

Métodos públicos

public abstract ExecutionEnvironment env ()

Devuelve el entorno de ejecución en el que se creó esta operación.

public abstract Operation op ()

Devuelve esta unidad de cálculo como una sola 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.

Devoluciones