ParameterList — PyTorch 1.10.1 documentation
pytorch.org › torchParameterList. Holds parameters in a list. ParameterList can be indexed like a regular Python list, but parameters it contains are properly registered, and will be visible by all Module methods. Appends a given parameter at the end of the list. Appends parameters from a Python iterable to the end of the list.
Parameter — PyTorch 1.10.1 documentation
pytorch.org › torchParameter¶ class torch.nn.parameter. Parameter (data = None, requires_grad = True) [source] ¶. A kind of Tensor that is to be considered a module parameter. Parameters are Tensor subclasses, that have a very special property when used with Module s - when they’re assigned as Module attributes they are automatically added to the list of its parameters, and will appear e.g. in parameters ...
ParameterDict — PyTorch 1.10.1 documentation
pytorch.org › torchParameterDict. class torch.nn.ParameterDict(parameters=None) [source] Holds parameters in a dictionary. ParameterDict can be indexed like a regular Python dictionary, but parameters it contains are properly registered, and will be visible by all Module methods. ParameterDict is an ordered dictionary that respects.