code: def test_isonet(transfun, testing_cfg):
      net_params = testing_cfg["net_params"]
      net_params["transfun"] = transfun
      net = isonet.ISONet(net_params)
      net.eval()
      output_batch = net(INPUT_BATCH)
      assert output_batch.size() == (BATCH_SIZE, net_params["nc"])
  
imports: import pytest
  import torch
  import kale.predict.isonet
label_desc: Use image node_id 2 for calling a global function with example usage: test_isonet(transfun, testing_cfg) without return types