code: def ref_bool_fill(data, mask, value):
      data0 = np.copy(data)
      bmask = np.broadcast_to(mask, data.shape)
      data0[bmask.astype(bool)] = value
      return data0
  
file_path: nnabla/python/test/function/test_bool_fill.py
imports: import pytest
  import numpy
  import nnabla
  import nnabla.functions
  from nbla_test_utils import list_context
label_desc: Use image node_id 1 for calling a global function with example usage: ref_bool_fill(data, mask, value) and returns: data0