class_docstr: Manages the status/heartbeat monitor for a set of workers.
class_docstr_tok: ["Manages","the","status\/heartbeat","monitor","for","a","set","of","workers","."]
docstr: Configure heartbeat manager for all devices.
  
  Args:
    message: `event_pb2.WorkerHeartbeatRequest`
  Returns: `None`
docstr_tok: ["Configure","heartbeat","manager","for","all","devices",".","Args",":","message",":","`","event_pb2.WorkerHeartbeatRequest","`","Returns",":","`","None","`"]
code: def configure(self, message):
      """Configure heartbeat manager for all devices.
  
      Args:
        message: `event_pb2.WorkerHeartbeatRequest`
      Returns: `None`
      """
      logging.info(
          "Configuring worker heartbeat: %s",
          text_format.MessageToString(message),
      )
      self._session.run(
          self._ops,
          {self._request_placeholder: message.SerializeToString()},
      )
  
imports: import threading
  import time
  from google.protobuf import text_format
  from tensorflow.core.protobuf import config_pb2
  from tensorflow.core.util import event_pb2
  from tensorflow.python.client import session
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.tpu.ops import tpu_ops
  from tensorflow.python.training import session_run_hook
  from tensorflow.python.training import training_util
label_desc: Use image node_id 4 for calling the WorkerHeartbeatManager obj's underlying member method code with example usage: obj.configure(message) without return types