Max-plus Operators Applied to Filter Selection and Model Pruning in Neural Networks