I am trying to use pytorch in mlflow. Currently, predict method allows data that is only of pd.DataFrame or np.ndarray type, is there a way to override this and write a custom predict method without writing a completely new loader_module?
The source code for the predict method can be found here -> pytorch