Skip to content

Commit

Permalink
Move some subgraph verbose to MXNET_SUBGRAPH_VERBOSE=2 (apache#16622)
Browse files Browse the repository at this point in the history
* Move subgraph pass log to verbose=2

* Run CI
  • Loading branch information
ZhennanQin authored and sxjscience committed Oct 26, 2019
1 parent 6fc5841 commit adc9d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operator/subgraph/build_subgraph.cc
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ nnvm::Graph BuildSubgraph(nnvm::Graph&& g) {
using namespace sg;

const SubgraphPropertyPtr& subg_prop = g.GetAttr<SubgraphPropertyPtr>("subgraph_property");
if (verbose) {
if (verbose > 1) {
const std::string& prop_name = subg_prop->HasAttr("property_name")
? subg_prop->GetAttr<std::string>("property_name")
: "partition graph";
Expand Down

0 comments on commit adc9d62

Please sign in to comment.