code: def test_use_libxsmm_switch():
      import torch
  
      g = dgl.graph(([0, 0, 0, 1, 1, 2], [0, 1, 2, 1, 2, 2]))
      x = torch.ones(3, 2, requires_grad=True)
      y = torch.arange(1, 13).float().view(6, 2).requires_grad_()
  
      dgl.use_libxsmm(False)
      assert ~dgl.is_libxsmm_enabled()
      dgl.ops.u_mul_e_sum(g, x, y)
      dgl.use_libxsmm(True)
      assert dgl.is_libxsmm_enabled()
      dgl.ops.u_mul_e_sum(g, x, y)
  
imports: import random
  import unittest
  import backend
  import dgl
  import numpy
  import pytest
  import torch
  from dgl.ops import gather_mm, gsddmm, gspmm, segment_reduce
  from utils import parametrize_idtype
  from utils.graph_cases import get_cases
label_desc: Use image node_id 11 for calling a global function with example usage: test_use_libxsmm_switch() without return types