Caffe2 - Python API
A deep learning, cross platform ML framework
Functions | Variables
torch._torch_docs Namespace Reference


def parse_kwargs (desc)
def merge_dicts (dicts)



Detailed Description

Adds docstrings to functions defined in the torch._C

Function Documentation

def torch._torch_docs.parse_kwargs (   desc)
Maps a description of args to a dictionary of {argname: description}.
    ('    weight (Tensor): a weight tensor\n' +
     '        Some optional description')
Output: {
    'weight': \
    'weight (Tensor): a weight tensor\n        Some optional description'

Definition at line 9 of file