Session.Run

public static final class Session.Run

Output tensors and metadata obtained when executing a session.

See Session.Runner.runAndFetchMetadata()

Fields

public byte[] metadata (Experimental): Metadata about the run.
public List<Tensor<?>> outputs Tensors from requested fetches.

Public Constructors

Run()

Inherited Methods

Fields

public byte[] metadata

(Experimental): Metadata about the run.

A serialized RunMetadata protocol buffer. The org.tensorflow package is free of any protocol buffer dependencies in order to remain friendly to resource constrained systems (where something like nanoproto may be more appropriate). A cost of that is this opaque blob. This choice is under review and this field may be replaced by more type-safe equivalents at any time.

public List<Tensor<?>> outputs

Tensors from requested fetches.

Public Constructors

public Run ()