code: def __init__(self, data, memory, blocks):
      self.pickle_data = data
      self.blocks = blocks
      self.memory = memory
      self.shm_name = memory.name if memory is not None else None
      self.is_owner = True
  
file_path: lkpy/lenskit/sharing/shm.py
imports: import sys
  import logging
  import pickle
  from .None import sharing_mode, PersistedModel
  import multiprocessing.shared_memory
label_desc: Use image node_id 1 to create a new SHMPersisted object from inherited base classes: PersistedModel with example: obj = SHMPersisted(data, memory, blocks)