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

[Example] Add docstring for test optimizer and test score #13286

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
a9d40c4
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Sep 18, 2018
429684a
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Sep 19, 2018
602b7d0
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Sep 20, 2018
85f9408
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Sep 27, 2018
5a01234
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Sep 28, 2018
8f58746
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Sep 28, 2018
1531594
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Oct 2, 2018
3e799de
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Oct 8, 2018
f690c69
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Oct 8, 2018
a091a97
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Oct 9, 2018
f1359be
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Oct 11, 2018
e360853
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Oct 11, 2018
23199d1
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Oct 12, 2018
166c2b6
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Oct 16, 2018
d01e8cb
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Oct 24, 2018
0454017
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Oct 26, 2018
90f1dd8
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Nov 1, 2018
2f019cd
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Nov 6, 2018
ec075f5
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Nov 13, 2018
8ce2f50
update the doc for test_optimizer
stu1130 Nov 15, 2018
5710557
add docstring for test_score
stu1130 Nov 15, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cpp-package/example/test_optimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
* The file is used for testing if the optimizer could be created more than 1.
* By running: build/test_optimizer
* It return 0(means no error) if it succeed otherwise 1(error).
*/
#include "mxnet-cpp/MxNetCpp.h"

Expand Down
5 changes: 5 additions & 0 deletions cpp-package/example/test_score.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@

/*!
* Xin Li [email protected]
* The file is used for testing if the score(accurary) we get
* is better than the threshold we set using mlp model.
* By running: build/test_score 0.75
* 0.75 here means the threshold score
* It return 0 if we can achieve higher score than threshold, otherwise 1
*/
#include <chrono>
#include "utils.h"
Expand Down