nvalchemi.models.gen.demo.DemoDiffusionModel#
- class nvalchemi.models.gen.demo.DemoDiffusionModel(num_atoms=3, hidden=32)[source]#
Minimal diffusion-side demo: an x0-predictor over point clouds.
forwardfollows the PhysicsNeMo calling convention —forward(x, sigma)predicts clean positions from noisy ones — so the model slots directly intophysicsnemo.diffusionpreconditioners and samplers (see the generative user guide).- Parameters:
num_atoms (int)
hidden (int)
- extra_repr()#
Format the generative config for
nn.Module.__repr__.- Parameters:
self (Any) – The wrapper instance (injected onto concrete subclasses).
- Returns:
A short summary of the declared batch-field contracts.
- Return type:
str