code: def run_moe_res_matmul_reference(residual, coef1, coef2, output):
      return residual * coef1 + output * coef2
  
file_path: DeepSpeed/tests/unit/ops/transformer/inference/test_moe_res_matmult.py
imports: import pytest
  import torch
  import deepspeed
  from deepspeed.accelerator import get_accelerator
  from deepspeed.ops.op_builder import InferenceBuilder
  from .inference_test_utils import allclose, get_dtypes
label_desc: Use image node_id 1 for calling a global function with example usage: run_moe_res_matmul_reference(residual, coef1, coef2, output) and returns: unknown