class_docstr: A hook for running a train op separate from the main session run call.
class_docstr_tok: ["A","hook","for","running","a","train","op","separate","from","the","main","session","run","call","."]
docstr: Initializes a `_SecondaryTrainOpRunnerHook`.
  
  Args:
    train_op: The secondary train op to execute before runs.
docstr_tok: ["Initializes","a","`","_SecondaryTrainOpRunnerHook","`",".","Args",":","train_op",":","The","secondary","train","op","to","execute","before","runs","."]
code: def __init__(self, train_op):
      """Initializes a `_SecondaryTrainOpRunnerHook`.
  
      Args:
        train_op: The secondary train op to execute before runs.
      """
  
      self._train_op = train_op
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import inspect
  from adanet import subnetwork
  from adanet import tf_compat
  import tensorflow.compat.v2
label_desc: Use image node_id 1 to create a new _SecondaryTrainOpRunnerHook object from inherited base classes: tf_compat with example: obj = _SecondaryTrainOpRunnerHook(train_op)