code: def test_forward(net, img_size):
      """Test `.forward()` doesn't throw an error"""
      data = torch.zeros((1, 3, img_size, img_size))
      output = net(data)
      assert not torch.isnan(output).any()
  
file_path: EfficientNet-PyTorch/tests/test_model.py
imports: from collections import OrderedDict
  import pytest
  import torch
  import torch.nn
  from efficientnet_pytorch import EfficientNet
label_desc: Use image node_id 4 for calling a global function with example usage: test_forward(net, img_size) without return types