Beispiel #1
0
 def before_run(self, run_context):
     if self._send_traceback_and_source_code:
         self._sent_graph_version = grpc_wrapper.publish_traceback(
             self._grpc_debug_server_addresses, run_context.session.graph,
             run_context.original_args.feed_dict,
             run_context.original_args.fetches, self._sent_graph_version)
     return super(TensorBoardDebugHook, self).before_run(run_context)
Beispiel #2
0
 def before_run(self, run_context):
   if self._send_traceback_and_source_code:
     self._sent_graph_version = grpc_wrapper.publish_traceback(
         self._grpc_debug_server_addresses, run_context.session.graph,
         run_context.original_args.feed_dict,
         run_context.original_args.fetches, self._sent_graph_version)
   return super(TensorBoardDebugHook, self).before_run(run_context)