The function converts a given string to uppercase.

[CODE]:
```python
def f(x):
    return x.upper()
```

The code above uses the `upper()` method of strings in Python to convert the input string to uppercase.