class_docstr: A GetattrHandler which deals with the sharding strategies for Getattr Node.
code: def get_operation_data_mapping(self) -> Dict[str, OperationData]:
      # use transposed shape for strategies
      # the strategies will be transformed back to its original shape in self.post_process
  
      # There are only two possible types for get_attr node:
      # 1. torch.Tensor(torch.nn.Parameters or torch.nn.Buffers)
      # 2. torch.nn.Module
      # temporarily, we just support first case in Tracer, so we don't have to worry about
      # issue related to the node._meta_data type.
      physical_output = OperationData(
          name=str(self.node),
          type=OperationDataType.OUTPUT,
          data=self.node._meta_data,
      )
  
      mapping = {"output": physical_output}
  
      return mapping
  
file_path: ColossalAI/colossalai/auto_parallel/tensor_shard/node_handler/getattr_handler.py
imports: from typing import Dict, List
  from ..sharding_strategy import OperationData, OperationDataType
  from .node_handler import NodeHandler
  from .strategy import GetattrGenerator, StrategyGenerator
label_desc: Use image node_id 2 for calling the GetattrHandler obj's underlying member method code with example usage: obj.get_operation_data_mapping() and returns: mapping