You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/08/31 16:10:49 UTC

[GitHub] [incubator-tvm] zhiics commented on a change in pull request #6364: [Relay] Add user-defined constant node printer

zhiics commented on a change in pull request #6364:
URL: https://github.com/apache/incubator-tvm/pull/6364#discussion_r480234197



##########
File path: src/printer/relay_text_printer.cc
##########
@@ -330,6 +330,14 @@ Doc RelayTextPrinter::VisitExpr_(const ConstantNode* op) {
       return ScalarLiteral(dtype, static_cast<const uint8_t*>(op->data->data)[0]);
     }
   }
+  const PackedFunc* fprint = runtime::Registry::Get("relay._constant_text");

Review comment:
       Is `relay._constant_text ` defined by users?




----------------------------------------------------------------
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:
users@infra.apache.org