code: def test_hinsage_save_load(tmpdir):
      G = example_hin_1({"A": 8, "B": 4})
  
      gen = HinSAGENodeGenerator(G, 1, [2, 2], "A")
  
      hs = HinSAGE(
          layer_sizes=[2, 2],
          generator=gen,
          normalize="none",
          activations=["relu", "relu"],
      )
  
      test_utils.model_save_load(tmpdir, hs)
  
imports: import pytest
  import numpy
  import networkx
  from tensorflow import keras
  from tensorflow.keras import regularizers
  from stellargraph import StellarGraph
  from stellargraph.layer.hinsage import *
  from stellargraph.mapper import *
  from ..test_utils.graphs import example_hin_1
  from ..None import test_utils
label_desc: Use image node_id 20 for calling a global function with example usage: test_hinsage_save_load(tmpdir) without return types