code: def get_layers(self, module):
      scope_names = self.layer_name.split(".")
      assert len(scope_names) > 0
  
      m = module
      for name in scope_names:
          assert hasattr(
              m, name
          ), "layer_name configuration is invalid."
          m = getattr(m, name)
  
      return m
  
file_path: H2O/h2o_flexgen/benchmark/third_party/DeepSpeed/deepspeed/runtime/eigenvalue.py
imports: import torch
  from deepspeed.utils import log_dist
  import numpy
  import logging
label_desc: Use image node_id 5 for calling the Eigenvalue obj's underlying member method code with example usage: obj.get_layers(module) and returns: m