Caffe2 - Python API
A deep learning, cross platform ML framework
Public Member Functions | List of all members
caffe2.python.utils.DebugMode Class Reference
Inheritance diagram for caffe2.python.utils.DebugMode:

Public Member Functions

def run (cls, func)
 

Detailed Description

This class allows to drop you into an interactive debugger
if there is an unhandled exception in your python script

Example of usage:

def main():
    # your code here
    pass

if __name__ == '__main__':
    from caffe2.python.utils import DebugMode
    DebugMode.run(main)

Definition at line 273 of file utils.py.


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