forked from jiuyuan/InfiniTensor
15 lines
316 B
C++
15 lines
316 B
C++
#pragma once
|
|
#include "nnet/visitor.h"
|
|
|
|
namespace nnet {
|
|
|
|
class CompareMultiFormulasVisitor : public ExprTreeVisitor {
|
|
vector<VarRangePair> newSumVarRanges;
|
|
RangeOp newRangeOp;
|
|
|
|
public:
|
|
CompareMultiFormulasVisitor() : ExprTreeVisitor() {}
|
|
bool compare(const VecExpr &roots);
|
|
};
|
|
|
|
} // namespace nnet
|