eric-haibin-lin commented on a change in pull request #11502: [MXNET-614]
Adding Synchronized Batch Normalization
URL: https://github.com/apache/incubator-mxnet/pull/11502#discussion_r200207066
##########
File path: tests/python/gpu/test_operator_gpu.py
##########
@@ -1919,6 +1921,82 @@ def test_context_num_gpus():
# Test that num_gpus reports at least one GPU, as the test is run on a GPU
host.
assert mx.context.num_gpus() > 0
+
+def _checkBatchNormResult(bn1, bn2, input, num_devices=1, cuda=False):
Review comment:
_check_batchnorm_result
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services