Op

interfaccia pubblica op
Sottoclassi indirette conosciute

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.

Metodi pubblici

ambiente di esecuzione astratto
ambiente ()
Restituisce l'ambiente di esecuzione in cui è stata creata questa operazione.
Operazione astratta
operazione ()
Restituisce questa unità di calcolo come una singola Operation .

Metodi pubblici

public abstract ExecutionEnvironment env ()

Restituisce l'ambiente di esecuzione in cui è stata creata questa operazione.

public abstract Operation op ()

Restituisce questa unità di calcolo come una singola 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.

ritorna