code: def get_num_experts(self):
      return self.num_experts
  
file_path: DeepSpeed/deepspeed/module_inject/containers/megatron_gpt_moe.py
imports: from .base import *
  from .base_moe import *
  from .features.megatron import MegatronContainer
  from deepspeed.model_implementations.transformers.ds_megatron_gpt import DeepSpeedMegatronGPTInference
  import torch
  from .megatron_gpt import MegatronLayerPolicy
  from packaging import version
label_desc: Use image node_id 2 for calling the MegatronMoELayerPolicy obj's underlying member method code with example usage: obj.get_num_experts() and returns: self