in MMS/dicom_featurization_service.py [0:0]
def inference(self, img): # image featurization with torch.no_grad(): output = self.model(img) return output.numpy()[0]