keras/src/callbacks/tensorboard.py/TensorBoard/summary
class TensorBoard:    def summary(self):
        if self._summary_module is None:
            import tensorflow.summary as summary

            self._summary_module = summary
        return self._summary_module