Wraps a model’s __call__ method so that the input arrays are converted into the appropriate shape given the model’s parameter dimensions.
Wraps the result to match the shape of the last input array.