jroesch commented on a change in pull request #6192:
URL: https://github.com/apache/incubator-tvm/pull/6192#discussion_r470459177
##########
File path: src/relay/backend/vm/compiler.cc
##########
@@ -302,13 +302,6 @@ class VMFunctionCompiler : ExprFunctor<void(const Expr&
expr)> {
void VisitExpr_(const ConstantNode* const_node) {
// Check the shape is valid
NDArray data = const_node->data;
- const DLTensor* tensor = data.operator->();
Review comment:
Why delete this code?
----------------------------------------------------------------
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]