class_docstr: PlaceholderGenerator is a generic class to generate strategies for placeholder node.
class_docstr_tok: ["PlaceholderGenerator","is","a","generic","class","to","generate","strategies","for","placeholder","node","."]
code: def __init__(
      self,
      operation_data_mapping: Dict[str, OperationData],
      device_mesh: DeviceMesh,
      placeholder_option: str,
  ):
      super().__init__(operation_data_mapping, device_mesh)
      self.placeholder_option = placeholder_option
  
file_path: ColossalAI/colossalai/auto_parallel/tensor_shard/node_handler/strategy/placeholder_generator.py
imports: from typing import Dict, List
  from colossalai.auto_parallel.tensor_shard.sharding_strategy import MemoryCost, OperationData, ShardingStrategy, TrainCycleItem
  from colossalai.device.device_mesh import DeviceMesh
  from .strategy_generator import StrategyGenerator
label_desc: Use image node_id 1 to create a new PlaceholderGenerator object from inherited base classes: StrategyGenerator with example: obj = PlaceholderGenerator(operation_data_mapping, device_mesh, placeholder_option)