Browse Source

fix log print of bprop loading

tags/v0.5.0-beta
panyifeng 5 years ago
parent
commit
61af205204
2 changed files with 0 additions and 6 deletions
  1. +0
    -3
      mindspore/ccsrc/ir/primitive.cc
  2. +0
    -3
      mindspore/ccsrc/utils/primitive_utils.cc

+ 0
- 3
mindspore/ccsrc/ir/primitive.cc View File

@@ -52,9 +52,6 @@ py::function PrimitivePy::GetBpropFunction() {
return fn;
} else {
auto fn = GetBpropFunctionByObj(python_obj_);
if (fn.is_none()) {
MS_LOG(WARNING) << "Can't find bprop function for " << name();
}
return fn;
}
}


+ 0
- 3
mindspore/ccsrc/utils/primitive_utils.cc View File

@@ -29,9 +29,6 @@ py::function GetBpropFunctionByObj(py::object obj) {

py::function GetBpropFunction(std::string name) {
auto fn = GetBpropFunctionByObj(py::str(name));
if (fn.is_none()) {
MS_LOG(WARNING) << "Can't find bprop function for " << name;
}
return fn;
}



Loading…
Cancel
Save