code: def get_combination(n):
      if n == 0:
          return [(n, np.array([], dtype=bool))]
      all_comb = np.vstack(
          list(
              map(
                  lambda x: x.flatten(),
                  np.meshgrid(*[[0, 1] for _ in range(n)]),
              )
          )
      ).T.astype(bool)
      return [(n, comb) for comb in all_comb]
  
file_path: nnabla/python/test/function/test_broadcast.py
imports: import pytest
  import numpy
  import nnabla.functions
  from nbla_test_utils import function_tester, list_ctx_and_func_name
label_desc: Use image node_id 2 for calling a global function with example usage: get_combination(n) and returns: unknown, list