Performing inference through Batch Transform