Public Member Functions | |
def | __init__ (self, parameters=None) |
def | __getitem__ (self, key) |
def | __setitem__ (self, key, parameter) |
def | __delitem__ (self, key) |
def | __len__ (self) |
def | __iter__ (self) |
def | __contains__ (self, key) |
def | clear (self) |
def | pop (self, key) |
def | keys (self) |
def | items (self) |
def | values (self) |
def | update (self, parameters) |
def | extra_repr (self) |
Definition at line 438 of file container.py.
def torch.nn.modules.container.ParameterDict.clear | ( | self | ) |
Remove all items from the ParameterDict.
Definition at line 499 of file container.py.