code: def test_hinsage_regularisers():
      hs = HinSAGE(
          layer_sizes=[2, 2],
          n_samples=[2, 2],
          input_neighbor_tree=[
              ("1", [1, 2]),
              ("1", [3, 4]),
              ("2", [5]),
              ("1", []),
              ("2", []),
              ("2", []),
          ],
          input_dim={"1": 2, "2": 4},
          multiplicity=1,
          normalize="none",
          kernel_initializer="ones",
          kernel_regularizer=regularizers.l2(0.01),
      )
  
      with pytest.raises(ValueError):
          hs = HinSAGE(
              layer_sizes=[2, 2],
              n_samples=[2, 2],
              input_neighbor_tree=[
                  ("1", [1, 2]),
                  ("1", [3, 4]),
                  ("2", [5]),
                  ("1", []),
                  ("2", []),
                  ("2", []),
              ],
              input_dim={"1": 2, "2": 4},
              multiplicity=1,
              normalize="none",
              kernel_initializer="ones",
              kernel_regularizer="fred",
          )
  
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 16 for calling a global function with example usage: test_hinsage_regularisers() without return types