<SYSTEM_TASK:>
Given the following text problem statement, write Python code to implement the functionality described below in problem statement
<END_TASK>
<USER_TASK:>
Problem:
I have a logistic regression model using Pytorch, where my input is high-dimensional and my output must be a scalar - 0, 1 or 2.
<ASSISTANT_TASK:>
Python Code:
import numpy as np
import pandas as pd
import torch
softmax_output = load_data()
def solve(softmax_output):
# def solve(softmax_output):
    ### BEGIN SOLUTION
    y = torch.argmin(softmax_output, dim=1).detach()
    ### END SOLUTION
    # return y
# y = solve(softmax_output)
<END_TASK>