code: def test_narrow():
      src = torch.randn(5, 3)
  
      out = narrow(src, dim=0, start=2, length=2)
      assert torch.equal(out, src[2:4])
      assert torch.equal(
          out, torch.tensor(narrow(src.tolist(), 0, 2, 2))
      )
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_narrow() without return types