keras/src/callbacks/tensorboard.py/TensorBoard/_val_writer
class TensorBoard:    def _val_writer(self):
        if "val" not in self._writers:
            self._writers["val"] = self.summary.create_file_writer(
                self._val_dir
            )
        return self._writers["val"]