class tf.train.SessionRunValues
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.options
Alias for field number 1
results
Alias for field number 0
run_metadata
Alias for field number 2
__init__
count
index
Defined in tensorflow/python/training/session_run_hook.py
.
© 2017 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