ConstantMean(prior=None, batch_shape=<MagicMock name='mock()' id='140160014015456'>, **kwargs)¶
gpytorch.means.Meanimplementation for defining a different mean for each task in a multitask model. Expects a list of num_tasks different mean functions, each of which is applied to the given data in
forward()and returned as an n x t matrix of means, one for each task.
Evaluate each mean in self.base_means on the input data, and return as an n x t matrix of means.