Caffe2 - Python API
A deep learning, cross platform ML framework
Public Member Functions | Public Attributes | List of all members
tools.autograd.nested_dict.nested_dict Class Reference
Inheritance diagram for tools.autograd.nested_dict.nested_dict:

Public Member Functions

def __init__ (self, base, parent)
 
def __contains__ (self, item)
 
def __getitem__ (self, x)
 

Public Attributes

 parent
 

Detailed Description

A nested dict is a dictionary with a parent.  If key lookup fails,
it recursively continues into the parent.  Writes always happen to
the top level dict.

Definition at line 2 of file nested_dict.py.


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