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