SDEOutput#
- class deepinv.sampling.SDEOutput(sample, trajectory, timesteps, nfe)[source]#
Bases:
dictA container for storing the output of an SDE solver, that behaves like a
dictbut allows access with the attribute syntax.Attributes: :attr torch.Tensor sample: the final samples of the sampling process, of shape
(B, C, H, W). :attr torch.Tensor trajectory: the trajectory of the sampling process, of shape(num_steps, B, C, H, W)iffull_trajectoryisTrue, otherwise of shape(B, C, H, W). :attr torch.Tensor timesteps: the time steps at which the samples were taken, of shape(num_steps,). :attr int nfe: the number of function evaluations performed during the integration.