A Machine learning model that has a undefined input size but a fixed output?
For Deep Learning (neural networks), there techniques like Adaptive Average Pooling and Adaptive Max Pooling which outputs a fixed number of values irrespective of the size of the input to these layers.