attention kernel prototype