Skip to content

Commit

Permalink
Update task_extraction.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
junrushao authored May 31, 2022
1 parent 33c4381 commit 16a8851
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/relay/backend/task_extraction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ bool DefaultTaskFilter(const Array<te::Tensor>& args) {
std::unordered_set<const TensorNode*> visited;
for (const Tensor& v : args) {
for (const PrimExpr& e : v->shape) {
// Dynamic shape is not supported for now
if (!e->IsInstance<IntImmNode>()) {
return false;
}
Expand Down

0 comments on commit 16a8851

Please sign in to comment.