Skip to content

Commit

Permalink
fix bad rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrookhart committed Jan 5, 2021
1 parent 535972e commit eda5bed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/relay/ir/dataflow_pattern.cc
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,7 @@ TVM_STATIC_IR_FUNCTOR(ReprPrinter, vtable)

// Syntatic Sugar
DFPattern DFPattern::operator()(const std::vector<DFPattern>& args) {
return CallPattern(GetRef<DFPattern>(this->get()), Array<DFPattern>(args), NullValue<Attrs>(),
Array<Type>());
return CallPattern(GetRef<DFPattern>(this->get()), Array<DFPattern>(args));
}
DFPattern DFPattern::operator+(const DFPattern& other) {
return IsOp("add")({GetRef<DFPattern>(this->get()), other});
Expand Down

0 comments on commit eda5bed

Please sign in to comment.