Skip to content

Instantly share code, notes, and snippets.

View MuLx10's full-sized avatar
🔥
Tornado 🌪️

Mehul Kumar Nirala MuLx10

🔥
Tornado 🌪️
View GitHub Profile
@MuLx10
MuLx10 / tensor_board_logger.py
Created April 5, 2021 17:49 — forked from wassname/tensor_board_logger.py
A generic tensorboard logger for scalars and histograms or distributions
import tensorflow as tf
import numpy as np
class TensorBoardLogger(object):
"""
Log scalar and histograms/distributions to tensorboard.
Usage:
```