Caffe2 - Python API
A deep learning, cross platform ML framework
Public Member Functions | List of all members
torch.nn.modules.container.ParameterList Class Reference
Inheritance diagram for torch.nn.modules.container.ParameterList:

Public Member Functions

def __init__ (self, parameters=None)
def __getitem__ (self, idx)
def __setitem__ (self, idx, param)
def __len__ (self)
def __iter__ (self)
def __iadd__ (self, parameters)
def __dir__ (self)
def append (self, parameter)
def extend (self, parameters)
def extra_repr (self)

Detailed Description

Definition at line 340 of file

Member Function Documentation

def torch.nn.modules.container.ParameterList.append (   self,
Appends a given parameter at the end of the list.

    parameter (nn.Parameter): parameter to append

Definition at line 403 of file

def torch.nn.modules.container.ParameterList.extend (   self,
Appends parameters from a Python iterable to the end of the list.

    parameters (iterable): iterable of parameters to append

Definition at line 412 of file

The documentation for this class was generated from the following file: