Compressed convolutional neural network for autonomous systems