A function that, given the input, decides how experts (in a mixture of experts) should process the input.

Usually takes an input and produces a vector of outputs.