def to_score(x):
    levels = mx.nd.arange(1, 6, ctx=x.context)
    return [mx.nd.sum((levels * mx.nd.exp(x)), axis=1).reshape(((- 1), 1))]
def to_score(x):
    levels = mx.nd.arange(1, 6, ctx=x.context)
    return [mx.nd.sum((levels * mx.nd.exp(x)), axis=1).reshape(((- 1), 1))]