(self, log_data, global_step)
Tasks appropriate writers to write the summaries in tensorboard. Creates additional
        writers for summary writing if there are new scalars to log in log_data.

        Args:
            log_data (MetricLog): Dict-like object to collect log data for TB writing.
            global_step (int): Global step variable for syncing logs.

        Returns:
            None
Tasks appropriate writers to write the summaries in tensorboard. Creates additional
        writers for summary writing if there are new scalars to log in log_data.
Tasks appropriate writers to write the summaries in tensorboard . Creates additional writers for summary writing if there are new scalars to log in log_data .
def write_summaries(self, log_data, global_step):
        """
        Tasks appropriate writers to write the summaries in tensorboard. Creates additional
        writers for summary writing if there are new scalars to log in log_data.

        Args:
            log_data (MetricLog): Dict-like object to collect log data for TB writing.
            global_step (int): Global step variable for syncing logs.

        Returns:
            None
        """
        for metric, data in log_data.items():
            if metric not in self.writers:
                self.writers[metric] = self._build_writer(metric)

            # Write with a group name if it exists
            name = log_data.get_group_name(metric) or metric
            self.writers[metric].add_scalar(name,
                                            log_data[metric],
                                            global_step=global_step)
def write_summaries ( self , log_data , global_step ) : for metric , data in log_data . items ( ) : if metric not in self . writers : self . writers [ metric ] = self . _build_writer ( metric ) # Write with a group name if it exists name = log_data . get_group_name ( metric ) or metric self . writers [ metric ] . add_scalar ( name , log_data [ metric ] , global_step = global_step )