code: def test_should_generate_subgraph(convolutional_model):
      activations_model = ExtractActivations.generate_activations_graph(
          convolutional_model, ["activation_1"]
      )
  
      assert activations_model.layers[-1].name == "activation_1"
  
imports: import numpy
  from tf_explain.core.activations import ExtractActivations
label_desc: Use image node_id 1 for calling a global function with example usage: test_should_generate_subgraph(convolutional_model) without return types