Handling Invalid Pixels In Convolutional Neural Networks