code: def debayer_bilinear_npp_pattern_seq(seq, patterns):
      f, h, w = seq.shape
      assert f == len(patterns)
      bayer_masks = {
          pattern: rgb_bayer_masks((h, w), pattern)
          for pattern in bayer_patterns
      }
      seq_masks = [bayer_masks[pattern] for pattern in patterns]
      reds, greens, blues = [
          np.stack(channel) for channel in zip(*seq_masks)
      ]
      return debayer_bilinear_npp_masks(seq, (reds, greens, blues))
  
file_path: DALI/dali/test/python/debayer_test_utils.py
imports: import numpy
  from scipy.signal import convolve2d
label_desc: Use image node_id 10 for calling a global function with example usage: debayer_bilinear_npp_pattern_seq(seq, patterns) and returns: debayer_bilinear_npp_masks