class_docstr: Magic part of the protocol for multiple value returns.
  
  See `ProgramBuilder.__call__`.
code: def __init__(self, context, pattern):
      self._context = context
      self._pattern = pattern
  
imports: import collections
  import contextlib
  import inspect
  from tensorflow_probability.python.experimental.auto_batching import instructions
label_desc: Use image node_id 1 to create a new _MagicPattern object from inherited base classes: object with example: obj = _MagicPattern(context, pattern)