code: def test_graphsage_apply():
      gs = GraphSAGE(
          layer_sizes=[4],
          n_samples=[2],
          bias=False,
          input_dim=2,
          multiplicity=1,
          normalize=None,
          kernel_initializer="ones",
      )
  
      inp1 = keras.Input(shape=(1, 2))
      inp2 = keras.Input(shape=(2, 2))
      out = gs([inp1, inp2])
      model = keras.Model(inputs=[inp1, inp2], outputs=out)
  
imports: from tensorflow import keras
  from tensorflow.keras import initializers, regularizers
  import tensorflow
  import numpy
  import pytest
  from stellargraph.mapper import GraphSAGENodeGenerator
  from stellargraph.layer.graphsage import GraphSAGE, MeanAggregator, MaxPoolingAggregator, MeanPoolingAggregator, AttentionalAggregator
  from ..test_utils.graphs import example_graph
  from ..None import test_utils
label_desc: Use image node_id 23 for calling a global function with example usage: test_graphsage_apply() without return types