xnn.hybnn.models.byteff_foundation.architecture#

xnn.hybnn.models.byteff_foundation.architecture(state)[source]#

The xnn class and options of a released state dict, read from its shapes.

Parameters:

state (dict of str to Tensor) – The released network’s model_state_dict.

Returns:

The class (ByteFF or ByteFFPol) and its keyword options (graph, bonded, nonbonded).

Return type:

tuple