BRNN with batch training