def METHOD_NAME(self):
    self.model = models.alexnet(pretrained=True)
    self.model.eval()
    # The ready flag is used by model ready endpoint for readiness probes,
    # set to True when model is loaded successfully without exceptions.
    self.ready = True