post rebase fixes: images layer and padding layer compute loss in
forward