class_docstr: Base class for coding experiment.
class_docstr_tok: ["Base","class","for","coding","experiment","."]
code: def compile(self, **kwargs):
      super().compile(
          loss=None,
          metrics=None,
          loss_weights=None,
          weighted_metrics=None,
          **kwargs,
      )
      self.loss = tf.keras.metrics.Mean(name="loss")
      self.rate = tf.keras.metrics.Mean(name="rate")
      self.distortion = tf.keras.metrics.Mean(name="distortion")
      self.grad_rms = tf.keras.metrics.Mean(name="gradient RMS")
  
file_path: compression/models/toy_sources/compression_model.py
imports: import abc
  import matplotlib.pyplot
  import numpy
  import tensorflow
label_desc: Use image node_id 9 for calling the CompressionModel obj's underlying member method code with example usage: obj.compile() without return types