code: def no_shadow_policy(_lec, _gec, num_expert, world_size):
      res = torch.zeros(world_size * num_expert, dtype=bool)
      return res
  
file_path: fastmoe/fmoe/fastermoe/shadow_policy.py
imports: import os
  import torch
  import torch.distributed
  from .config import float_from_env, switch_from_env
  from fmoe.functions import get_moe_group
label_desc: Use image node_id 2 for calling a global function with example usage: no_shadow_policy(_lec, _gec, num_expert, world_size) and returns: res