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

Move some subgraph verbose to MXNET_SUBGRAPH_VERBOSE=2 #16622

Merged
merged 2 commits into from
Oct 26, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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