'Create a LocalMixtureOfExperts.
Args:
gating_hp: hyperparameters for the gating network.
e.g. NoisyTopKGatingParams()
expert_hp: hyperparameters for the expert networks.
e.g. FeedForwardExpertParams()
input_size: an integer.
output_size: an integer.
name: a string.'

def __init__(self, gating_hp, expert_hp, input_size, output_size, name):

    self._name = name
    _SetInputOutputSizes(gating_hp, input_size, None)
    _SetInputOutputSizes(expert_hp, input_size, output_size)
    self._gating_hp = gating_hp
    self._gating = gating_hp.gating_class(gating_hp, (name + '_gating'))
    self._expert_hp = expert_hp
    self._experts = [expert_hp.expert_class(expert_hp, (name + ('_%d' % i))) for i in xrange(gating_hp.num_experts)]
