decorator -> array-api