Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jroesch committed Jul 6, 2021
1 parent c9a3de8 commit 2fd991e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/relay/backend/te_compiler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,12 @@ std::tuple<bool, int, int> IsDeviceCopy(const Function& func) {
auto attrs = call_node->attrs.as<DeviceCopyAttrs>();
auto dst = attrs->dst_dev_type;
auto src = attrs->src_dev_type;
return {true, src, dst};
return std::tuple<bool, int, int>(true, src, dst);
}
}
}

return {false, -1, -1};
return std::tuple<bool, int, int>(false, -1, -1);
}

class LowerTensorExpr : public ExprMutator {
Expand Down

0 comments on commit 2fd991e

Please sign in to comment.