def marginalize(self, axes):
    return CombinedModel([model.marginalize(axes) for model in self.models])
def marginalize(self, axes):
    return CombinedModel([model.marginalize(axes) for model in self.models])