class_docstr: ComputeSpec
  The Specification for computation pattern
  
  Args:
      compute_pattern (ComputePattern): an Enum instance for compute pattern.
code: def __repr__(self):
      return f"ComputeSpec(pattern={self.compute_pattern}, replicate_output={self.output_replicate})"
  
file_path: colossalai/colossalai/legacy/tensor/compute_spec.py
imports: from enum import Enum
label_desc: Use image node_id 2 for calling the ComputeSpec obj's underlying member method code with example usage: obj.__repr__() and returns: str, self, str, self, str