junrushao1994 commented on a change in pull request #16351: [IR-Bridge] Support
attrs for operators: convolution, batch norm, relu
URL: https://github.com/apache/incubator-mxnet/pull/16351#discussion_r332121800
##########
File path: src/v3/src/bridge/legacy_nnvm/ir.cc
##########
@@ -58,57 +65,58 @@ static void PrintIndexedGraph(const nnvm::Graph &g) {
std::string op_name = op ? op->name : "None";
if (input_nodes.count(i)) {
input_cnt += 1;
- op_name = (op ? op->name + " [input " : "[input ") +
std::to_string(input_cnt) + "]";
+ op_name = (op ? op->name + " [input " : "[input ") +
+ std::to_string(input_cnt) + "]";
} else {
op_name = op ? op->name : "None";
}
std::cout << " i = " << i << ", op = " << op_name
Review comment:
This is piece of program that basically did visualization, and will be
removed once the entire pipeline is done. So probably `cout` looks more casual
and unlikely to forget :-)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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