SessionRunValues
Defined in tensorflow/python/training/session_run_hook.py.
See the guide: Training > Training Hooks
Contains the results of Session.run().
In the future we may use this object to add more information about result of run without changing the Hook API.
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.optionsAlias for field number 1
resultsAlias for field number 0
run_metadataAlias for field number 2
__new____new__(
_cls,
results,
options,
run_metadata
)
Create new instance of SessionRunValues(results, options, run_metadata)
© 2018 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/api_docs/python/tf/train/SessionRunValues