allow network to work on multiple inputs in parallel