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

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)
 

Detailed Description

Definition at line 438 of file container.py.

Member Function Documentation

def torch.nn.modules.container.ParameterDict.clear (   self)
Remove all items from the ParameterDict.

Definition at line 499 of file container.py.


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