deepmd.pt.model.network.layernorm#
Attributes#
Classes#
Functions#
|
Module Contents#
- deepmd.pt.model.network.layernorm.empty_t(shape: tuple[int, Ellipsis], precision: torch.dtype) torch.Tensor[source]#
- class deepmd.pt.model.network.layernorm.LayerNorm(num_in: int, eps: float = 1e-05, uni_init: bool = True, bavg: float = 0.0, stddev: float = 1.0, precision: str = DEFAULT_PRECISION, trainable: bool = True, seed: int | list[int] | None = None)[source]#
Bases:
torch.nn.Module