deepmd.pt.model.network.mlp#
Attributes#
Classes#
Native representation of a neural network. | |
PyTorch implementation of NetworkCollection. |
Functions#
|
Module Contents#
- class deepmd.pt.model.network.mlp.MLPLayer(num_in, num_out, bias: bool = True, use_timestep: bool = False, activation_function: str | None = None, resnet: bool = False, bavg: float = 0.0, stddev: float = 1.0, precision: str = DEFAULT_PRECISION, init: str = 'default', seed: int | list[int] | None = None)[source]#
Bases:
torch.nn.Module- _default_normal_init(bavg: float = 0.0, stddev: float = 1.0, generator: torch.Generator | None = None) None[source]#