code: def _feat_getters(graph):
      def single(idx):
          return graph.node_features()[:, idx, ...]
  
      def several(start, end):
          return graph.node_features()[:, start:end, ...]
  
      return single, several
  
file_path: stellargraph/tests/mapper/test_sliding.py
imports: import numpy
  import pytest
  from stellargraph import StellarGraph
  from stellargraph.mapper import SlidingFeaturesNodeGenerator, SlidingFeaturesNodeSequence
  from ..test_utils.graphs import example_graph, example_hin_1
label_desc: Use image node_id 4 for calling a global function with example usage: _feat_getters(graph) and returns: single,  several, graph, graph