code: def test_multi_net(wandb_init):
      pytest.importorskip("torch")
      run = wandb_init()
      net1 = ConvNet()
      net2 = ConvNet()
      graphs = wandb.watch((net1, net2), log_graph=True)
      output1 = net1.forward(dummy_torch_tensor((64, 1, 28, 28)))
      output2 = net2.forward(dummy_torch_tensor((64, 1, 28, 28)))
      grads = torch.ones(64, 10)
      output1.backward(grads)
      output2.backward(grads)
      graph1 = graphs[0]._to_graph_json()
      graph2 = graphs[1]._to_graph_json()
      assert len(graph1["nodes"]) == 5
      assert len(graph2["nodes"]) == 5
      run.finish()
  
imports: import pytest
  import wandb
label_desc: Use image node_id 7 for calling a global function with example usage: test_multi_net(wandb_init) without return types