parameters: (self)
docstring: Record thread local fields of context.context() in self.
docstring_summary: Record thread local fields of context.context() in self.
docstring_tokens: Record thread local fields of context . context () in self .
function: def record_thread_local_context_fields(self):
      """Record thread local fields of context.context() in self."""
      ctx = context.context()
      self._summary_step = ctx.summary_step
      self._summary_writer = ctx.summary_writer
      self._summary_recording = ctx.summary_recording
      self._summary_recording_distribution_strategy = (
          ctx.summary_recording_distribution_strategy)
function_tokens: def record_thread_local_context_fields ( self ) : ctx = context . context ( ) self . _summary_step = ctx . summary_step self . _summary_writer = ctx . summary_writer self . _summary_recording = ctx . summary_recording self . _summary_recording_distribution_strategy = ( ctx . summary_recording_distribution_strategy )