mxnet icon indicating copy to clipboard operation
mxnet copied to clipboard

Documentation for MultiBoxPrior is not substantial

Open SumNeuron opened this issue 9 years ago • 3 comments

The documentation for mxnet.ndarray.contrib.MultiBoxPrior is as follows:

mxnet.ndarray.contrib.MultiBoxPrior(data=None, sizes=_Null, ratios=_Null, clip=_Null, steps=_Null, offsets=_Null, out=None, name=None, **kwargs)

_Null is not a valid default parameter. Searching the git repo, I could not find a python api for MultiBoxPrior (to modify it for my own needs)

although the c version can be found here https://github.com/apache/incubator-mxnet/blob/master/src/operator/contrib/multibox_prior.cc

This holds true for all the other SSD box detection.

If a python level function is available I would like to know where it is. If not, I would like enough documentation to understand the c code.

SumNeuron avatar Nov 19 '17 14:11 SumNeuron

You can try help(mx.nd.contrib.MultiBoxPrior) for help info in python. However, I have no idea why the generated function signature are really bad. @szha Any clue?

zhreshold avatar Nov 20 '17 04:11 zhreshold

proposed labels: "Python", "Doc", "Unclear Error/Doc"

zhiz21 avatar Mar 20 '18 03:03 zhiz21

@piiswrong does https://github.com/apache/incubator-mxnet/pull/5922/files cause '=_Null' in the docs? Does repr need to be '_Null' rather than 'None'?

vishaalkapoor avatar Jan 23 '19 23:01 vishaalkapoor