Session.Run
Stay organized with collections
Save and categorize content based on your preferences.
Fields
public
byte[] |
metadata |
(Experimental): Metadata about the run. |
public
List<Tensor<?>> |
outputs |
Tensors from requested fetches. |
Inherited Methods
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
Fields
(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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2023-03-27 UTC.
[null,null,["Last updated 2023-03-27 UTC."],[],[],null,["# Session.Run\n\npublic static final class **Session.Run** \nOutput tensors and metadata obtained when executing a session.\n\nSee [Session.Runner.runAndFetchMetadata()](/versions/r2.12/api_docs/java/org/tensorflow/Session.Runner#runAndFetchMetadata())\n\n\u003cbr /\u003e\n\n### Fields\n\n|-----------------------------------------------------------------------------------|-------------------------------------------------------------------------------|-----------------------------------------|\n| public byte\\[\\] | [metadata](/versions/r2.12/api_docs/java/org/tensorflow/Session.Run#metadata) | (Experimental): Metadata about the run. |\n| public List\\\u003c[Tensor](/versions/r2.12/api_docs/java/org/tensorflow/Tensor)\\\u003c?\\\u003e\\\u003e | [outputs](/versions/r2.12/api_docs/java/org/tensorflow/Session.Run#outputs) | Tensors from requested fetches. |\n\n### Public Constructors\n\n|---|-------------------------------------------------------------------------|\n| | [Run](/versions/r2.12/api_docs/java/org/tensorflow/Session.Run#Run())() |\n\n### Inherited Methods\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| boolean | equals(Object arg0) |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nFields\n------\n\n#### public byte\\[\\]\n**metadata**\n\n(Experimental): Metadata about the run.\n\nA serialized [RunMetadata\nprotocol buffer](https://www.tensorflow.org/code/tensorflow/core/protobuf/config.proto). The org.tensorflow package is free of any protocol buffer dependencies\nin order to remain friendly to resource constrained systems (where something like [nanoproto](https://github.com/google/protobuf/tree/master/javanano#nano-version) may\nbe more appropriate). A cost of that is this opaque blob. This choice is under review and\nthis field may be replaced by more type-safe equivalents at any time.\n\n\u003cbr /\u003e\n\n#### public List\\\u003c[Tensor](/versions/r2.12/api_docs/java/org/tensorflow/Tensor)\\\u003c?\\\u003e\\\u003e\n**outputs**\n\nTensors from requested fetches.\n\nPublic Constructors\n-------------------\n\n#### public\n**Run**\n()\n\n\u003cbr /\u003e"]]