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

Commit

Permalink
Rearrange unit test files (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjolivier01 authored and eric-haibin-lin committed May 24, 2017
1 parent 9c6889a commit 5c7f715
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions tests/cpp/operator/batchnorm_test.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* Copyright (c) 2017 by Contributors
* \file batchnorm_test.cc
* \brief operator unit test utility functions
* \brief batchnorm operator unit test utility functions
* \author Chris Olivier
*/

Expand Down Expand Up @@ -865,8 +865,8 @@ TEST(BATCH_NORM, TestIterAll) {
kwargs.push_back({ "cudnn_off", "True" });
}
for (TShape shape : shapes) {
for (int g1 = 0; g1 < 2U; ++g1) {
for (int g2 = 0; g2 < 2U; ++g2) {
for (int g1 = 0; g1 < 2; ++g1) {
for (int g2 = 0; g2 < 2; ++g2) {
for (int type : v2_types) {
MSHADOW_REAL_TYPE_SWITCH_EX(
type, DType, AccReal,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "../src/operator/tensor/indexing_op.h"
#include "../src/operator/optimizer_op-inl.h"
#include "../src/operator/tensor/init_op.h"
#include "test_utils.h"
#include "test_ndarray_utils.h"
using namespace mxnet;
// Conversion Tests
Expand Down

0 comments on commit 5c7f715

Please sign in to comment.