code: def data_1d():
      return np.random.rand(100, in_shape, in_filt)
  
file_path: hls4ml/test/pytest/test_globalpooling.py
imports: from pathlib import Path
  import numpy
  import pytest
  from tensorflow.keras.layers import GlobalAveragePooling1D, GlobalAveragePooling2D, GlobalMaxPooling1D, GlobalMaxPooling2D
  from tensorflow.keras.models import Sequential
  import hls4ml
label_desc: Use image node_id 1 for calling a global function with example usage: data_1d() and returns: np