class_docstr: Abstract base PyTorch compressor
code: def add_activation_collector(self, collector):
      self._fwd_hook_id += 1
      self._fwd_hook_handles[self._fwd_hook_id] = []
      for wrapper in self.get_modules_wrapper():
          handle = wrapper.register_forward_hook(collector)
          self._fwd_hook_handles[self._fwd_hook_id].append(handle)
      return self._fwd_hook_id
  
imports: import types
  import logging
  import torch
  from .None import default_layers
label_desc: Use image node_id 14 for calling the Compressor obj's underlying member method code with example usage: obj.add_activation_collector(collector) and returns: self