def getstate(self): steplength_params = [self.hbar_t, self.tau_t, self.gbar_t, self.gbar_t1, self.gbar_t2, self.hbar_tp, self.tau_tp, self.gbar_tp, self.adapt_param_steplength, self.adapt_vb_steplength, self.vb_steplength, self.param_steplength] return GPBase.getstate(self) + \ [self.get_vb_param(), self.Z, self.num_inducing, self.has_uncertain_inputs, self.X_variance, self.X_batch, self.X_variance_batch, steplength_params, self.batchcounter, self.batchsize, self.epochs, self.momentum, self.data_prop, self._param_trace, self._param_steplength_trace, self._vb_steplength_trace, self._ll_trace, self._grad_trace, self.Y, self._permutation, self.iterations ]
def getstate(self): """ Get the current state of the class, here just all the indices, rest can get recomputed """ return GPBase.getstate(self) + [self.Z, self.num_inducing, self.has_uncertain_inputs, self.X_variance]
def getstate(self): """ Get the current state of the class, here just all the indices, rest can get recomputed """ return GPBase.getstate(self) + [ self.Z, self.num_inducing, self.has_uncertain_inputs, self.X_variance ]
def getstate(self): return GPBase.getstate(self)