def forward(self, batch):
    'Performs forward of the underlying network on a given batch'
    assert (len(batch) <= self.max_reqs)
    for frame in batch:
        self.net.forward_async(frame)
    outputs = self.net.grab_all_async()
    return outputs
Performs forward of the underlying network on a given batch
def forward(self, batch):
    
    assert (len(batch) <= self.max_reqs)
    for frame in batch:
        self.net.forward_async(frame)
    outputs = self.net.grab_all_async()
    return outputs