code: def test_remove_function(seed, test, w_bias, graph_ref, graph_act):
      from .graph_converter_test_utils import (
          structure_tester,
          value_tester,
      )
  
      # Random number
      np.random.seed(seed)
      rng = np.random.RandomState(seed)
  
      # Graph
      x_data = rng.randn(batch_size, 3, 32, 32)
      x = nn.Variable.from_numpy_array(x_data)
  
      y_tgt = graph_act(x, test=test, w_bias=w_bias)
  
      # FunctionModifier
      modifiers = []
      modifiers.append(
          GC.RemoveFunctionModifier(
              rm_funcs=["BatchNormalization", "MulScalar"]
          )
      )
  
      y_act = GC.GraphConverter(modifiers).convert(y_tgt)
  
      # Ref Graph
      y_ref = graph_ref(
          x, test=test, w_bias=w_bias, name="bn-graph-rm-ref"
      )
  
      # Test
      structure_tester(y_ref, y_act)
  
imports: from __future__ import absolute_import
  import pytest
  import numpy
  import nnabla
  import nnabla.experimental.graph_converters
  from .ref_graphs.resnets import small_bn_resnet, small_bn_rm_resnet
label_desc: Use image node_id 1 for calling a global function with example usage: test_remove_function(seed, test, w_bias, graph_ref, graph_act) without return types