Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Fix docs for some NDArray functions #5808

Merged
merged 16 commits into from
Apr 14, 2017
Merged

Fix docs for some NDArray functions #5808

merged 16 commits into from
Apr 14, 2017

Conversation

Roshrini
Copy link
Member

@Roshrini Roshrini commented Apr 12, 2017

Modified docs for functions sort, argsort, argmin, argmax, argmax_channel, sequenceLast, SequenceMask, SequenceReverse, true_divide, take, batch_take.

@Roshrini Roshrini changed the title Api docs Fix docs for some NDArray functions Apr 12, 2017
@Roshrini Roshrini force-pushed the api-docs branch 3 times, most recently from 8c4a734 to c36ac6f Compare April 13, 2017 17:32
Copy link
Contributor

@zackchase zackchase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One main comment. Great job!

)
.describe(R"code(Sets all elements outside the sequence to a constant value.

This function takes an n-dimensional input array of the form [max sequence length, batch size, other dims]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe better to indicate some how that "max sequence length" refers to a single quantity (it does, correct?). I suggest just using underscores:

[max_sequence_length, batch_size, other dims]

Now for "other dims" -- what does that mean? it's not obvious form the context.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Used underscore for parameters. other_dims here means extra feature dimensions which doesn't matter for these sequence* functions. I changed it to other_feature_dims now. Is it fine?

@mli mli merged commit 17bfe18 into apache:master Apr 14, 2017
@Roshrini Roshrini deleted the api-docs branch July 14, 2017 05:18
Guneet-Dhillon pushed a commit to Guneet-Dhillon/mxnet that referenced this pull request Sep 13, 2017
* sort,argsort,topk,argmin,argmax,argmax_channel docs modified

* some sentence structure changes

* revert some changes made

* minor change

* sentence restructering

* sequencelast modified

* minor word changes

* formatting fixes

* SequenceMask added

* docs for SequenceReverse,true_divide is added

* line break

* minor change

* take, batch_take operators added

* minor formatting changes

* Changes after review

* note modified
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants