You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by jx...@apache.org on 2017/11/30 18:59:28 UTC

[incubator-mxnet] branch master updated: Change the initialization for default constructor to avoid using explicit constructor (#8854)

This is an automated email from the ASF dual-hosted git repository.

jxie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 319494f  Change the initialization for default constructor to avoid using explicit constructor (#8854)
319494f is described below

commit 319494fd2bdbe1f6ce9e808cc4ad8db362f678df
Author: Gautam Kumar <ga...@fb.com>
AuthorDate: Thu Nov 30 10:59:25 2017 -0800

    Change the initialization for default constructor to avoid using explicit constructor (#8854)
---
 src/operator/operator_tune.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/operator/operator_tune.cc b/src/operator/operator_tune.cc
index 8263c44..7cdf7a2 100644
--- a/src/operator/operator_tune.cc
+++ b/src/operator/operator_tune.cc
@@ -42,7 +42,7 @@ double OperatorTuneBase::tuning_weight_scale_ = 0.0;
   template<> std::vector<__typ$> OperatorTune<__typ$>::data_set_ = {}; \
   template<> volatile tune::TuningMode OperatorTuneByType<__typ$>::tuning_mode_ = tune::kAuto; \
   template<> volatile int OperatorTune<__typ$>::volatile_int_ = 9;  /* arbitrary number */ \
-  template<> std::unordered_set<std::string> OperatorTune<__typ$>::operator_names_ = {}; \
+  template<> std::unordered_set<std::string> OperatorTune<__typ$>::operator_names_({}); \
   template<> bool OperatorTune<__typ$>::output_tuning_data_ = false; \
   template<> std::list<void (*)()> *OperatorTune<__typ$>::GetTuningList() { \
     static std::list<void (*)()> ll; \

-- 
To stop receiving notification emails like this one, please contact
['"commits@mxnet.apache.org" <co...@mxnet.apache.org>'].