giagrad.nn.Sequential.append#
- Sequential.append(module: Module) Sequential [source]#
Appends a new module to self.
See also
giagrad.nn.containers.Module.add_module()
Examples
>>> s = nn.Sequential(nn.Linear(10), nn.Dropout(p=.2)) >>> for module in s: ... print(module) Layer(out_features=10, bias=True) Dropout(p=0.2)