def _value_function(self, x_input, y_true, y_pred):
if len(y_true.shape) == <NUM_LIT:1>:<EOL><INDENT>return y_pred.argmax(<NUM_LIT:1>).eq(y_true).double().mean().item()<EOL><DEDENT>else:<EOL><INDENT>raise NotImplementedError<EOL><DEDENT>
Return classification accuracy of input