in realbook/callbacks/spectrogram_visualization.py [0:0]
def __init__(
self,
tensorboard_writer: tf.summary.SummaryWriter,
example_batches: Iterable[Tuple[tf.Tensor, tf.Tensor]],
convert_to_dB: Union[bool, Callable[[tf.Tensor], tf.Tensor]] = True,
sample_rate: int = 22050,
# By default log exceptions but don't halt the training process.
raise_on_error: bool = False,
name: str = "Input to First Trainable Layer",
**kwargs: Any,