code: def mask_inputs(inputs, no_scale, no_bias, no_mean, no_variance):
      if no_bias:
          inputs[1] = np.zeros(inputs[1].shape)
  
      if no_scale:
          inputs[2] = np.ones(inputs[2].shape)
  
      if no_mean:
          inputs[3] = np.zeros(inputs[3].shape)
  
      if no_variance:
          inputs[4] = np.ones(inputs[4].shape)
  
      return inputs
  
file_path: nnabla/python/test/function/test_fused_batch_normalization.py
imports: from six.moves import range
  import pytest
  import numpy
  import nnabla
  import nnabla.functions
  from nbla_test_utils import list_context
  from nnabla.testing import assert_allclose
label_desc: Use image node_id 4 for calling a global function with example usage: mask_inputs(inputs, no_scale, no_bias, no_mean, no_variance) and returns: inputs