seqm_modules module

Full Documentation for hippynn.interfaces.pyseqm_interface.seqm_modules module. Click here for a summary page.

class AtomMask[source]

Bases: Module

forward(species)[source]

Define the computation performed at every call.

Should be overridden by all subclasses.

Note

Although the recipe for forward pass needs to be defined within this function, one should call the Module instance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.

class SEQM_All(seqm_parameters)[source]

Bases: Module

forward(par_atom, coordinates, species)[source]

get the energy terms

class SEQM_Energy(seqm_parameters)[source]

Bases: Module

forward(par_atom, coordinates, species)[source]

get the energy terms

class SEQM_MaskOnMol[source]

Bases: Module

forward(var, mol_mask)[source]

Define the computation performed at every call.

Should be overridden by all subclasses.

Note

Although the recipe for forward pass needs to be defined within this function, one should call the Module instance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.

class SEQM_MaskOnMolAtom[source]

Bases: Module

forward(var, mol_mask, atom_mask)[source]

Define the computation performed at every call.

Should be overridden by all subclasses.

Note

Although the recipe for forward pass needs to be defined within this function, one should call the Module instance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.

class SEQM_MaskOnMolOrbital[source]

Bases: Module

forward(var, mol_mask, orbital_mask)[source]

Define the computation performed at every call.

Should be overridden by all subclasses.

Note

Although the recipe for forward pass needs to be defined within this function, one should call the Module instance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.

class SEQM_MaskOnMolOrbitalAtom[source]

Bases: Module

forward(var, mol_mask, orbital_mask, atom_mask)[source]

Define the computation performed at every call.

Should be overridden by all subclasses.

Note

Although the recipe for forward pass needs to be defined within this function, one should call the Module instance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.

class SEQM_MolMask[source]

Bases: Module

forward(notconverged)[source]

Define the computation performed at every call.

Should be overridden by all subclasses.

Note

Although the recipe for forward pass needs to be defined within this function, one should call the Module instance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.

class SEQM_OrbitalMask(target_method, nOccVirt=None)[source]

Bases: Module

forward(species)[source]

Define the computation performed at every call.

Should be overridden by all subclasses.

Note

Although the recipe for forward pass needs to be defined within this function, one should call the Module instance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.

class Scale(func=<built-in method sqrt of type object>)[source]

Bases: Module

forward(notconverged)[source]

Define the computation performed at every call.

Should be overridden by all subclasses.

Note

Although the recipe for forward pass needs to be defined within this function, one should call the Module instance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.

num_orb(species, target_method='wB97X')[source]
pack_par(obj, species, par_atom, par_bond=None)[source]