code: def test_simple(num_clusters):
      test_utils.layer_test(
          NetVLAD,
          kwargs={"num_clusters": num_clusters},
          input_shape=(5, 4, 100),
          expected_output_shape=(None, num_clusters * 100),
      )
  
imports: import pytest
  import numpy
  from tensorflow_addons.layers.netvlad import NetVLAD
  from tensorflow_addons.utils import test_utils
label_desc: Use image node_id 1 for calling a global function with example usage: test_simple(num_clusters) without return types