re-implement the inference function for faster sliding window operation (with module from MONAI)
re-implement the inference function for faster sliding window operation (with module from MONAI)