code: def test_act_fns(act_fn: ActivationType) -> None:
      """
      Validate activation function behavior.
      """
      moe_test_helper(5120, 2048, 64, 32, act_fn, DtypeEnum.fp16)
  
file_path: DeepSpeed/tests/unit/inference/v2/kernels/cutlass_ops/test_moe_gemm.py
imports: import pytest
  import torch
  from deepspeed.accelerator import get_accelerator
  from deepspeed.inference.v2.inference_utils import ActivationType, DtypeEnum
  from deepspeed.inference.v2.kernels.cutlass_ops import MoEGEMM
  from ....v2.inference_test_utils import allclose
label_desc: Use image node_id 4 for calling a global function with example usage: test_act_fns(act_fn) without return types