---
description: Explore Ultralytics YOLO Docs for a deep understanding of log_scalars, on_batch_end & other callback utilities embedded in the tensorboard module.
keywords: Ultralytics, YOLO, documentation, callback utilities, log_scalars, on_batch_end, tensorboard
---

# Reference for `ultralytics/utils/callbacks/tensorboard.py`

!!! note

    Full source code for this file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/callbacks/tensorboard.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/callbacks/tensorboard.py). Help us fix any issues you see by submitting a [Pull Request](https://docs.ultralytics.com/help/contributing/) 🛠️. Thank you 🙏!

---
## ::: ultralytics.utils.callbacks.tensorboard._log_scalars
<br><br>

---
## ::: ultralytics.utils.callbacks.tensorboard._log_tensorboard_graph
<br><br>

---
## ::: ultralytics.utils.callbacks.tensorboard.on_pretrain_routine_start
<br><br>

---
## ::: ultralytics.utils.callbacks.tensorboard.on_train_start
<br><br>

---
## ::: ultralytics.utils.callbacks.tensorboard.on_batch_end
<br><br>

---
## ::: ultralytics.utils.callbacks.tensorboard.on_fit_epoch_end
<br><br>
