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/05/01 23:42:51 UTC
[GitHub] [incubator-tvm] lixiaoquan commented on a change in pull request #5429: [RELAY][TF] Support symbolic newshape for Reshape
lixiaoquan commented on a change in pull request #5429:
URL: https://github.com/apache/incubator-tvm/pull/5429#discussion_r418780844
##########
File path: src/relay/transforms/fuse_ops.cc
##########
@@ -234,6 +235,8 @@ class IndexedForwardGraph::Creator : private ExprVisitor {
Node* node = graph_.node_map.at(call);
static auto fpattern =
Op::GetAttr<TOpPattern>("TOpPattern");
+ static auto tshape_dependant = Op::GetAttr<TShapeDataDependant>(
+ "TShapeDataDependant");
Review comment:
Yes, this is used to prevent a result of shape function from being fed to a data dependent shape function.
----------------------------------------------------------------
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