Get Mask Index Per Sample Array

Get Mask Index Per Sample Array