tf.estimator.SessionRunValues
Contains the results of Session.run()
.
tf.estimator.SessionRunValues( results, options, run_metadata )
In the future we may use this object to add more information about result of run without changing the Hook API.
Args | |
---|---|
results | The return values from Session.run() corresponding to the fetches attribute returned in the RunArgs. Note that this has the same shape as the RunArgs fetches. For example: fetches = global_step_tensor => results = nparray(int) fetches = [train_op, summary_op, global_step_tensor] => results = [None, nparray(string), nparray(int)] fetches = {'step': global_step_tensor, 'summ': summary_op} => results = {'step': nparray(int), 'summ': nparray(string)} |
options | RunOptions from the Session.run() call. |
run_metadata | RunMetadata from the Session.run() call. |
Attributes | |
---|---|
results | |
options | |
run_metadata |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/estimator/SessionRunValues