class_docstr: Base class for coding experiment.
class_docstr_tok: ["Base","class","for","coding","experiment","."]
code: def ndim_source(self):
      return self.source.event_shape[0]
  
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 2 for calling the CompressionModel obj's underlying member method code with example usage: obj.ndim_source() and returns: self