InfiniTensor/include/nnet/Visitor/MatchReshapeVisitor.h

14 lines
244 B
C
Raw Permalink Normal View History

2022-08-08 16:02:07 +08:00
#pragma once
#include "nnet/visitor.h"
namespace nnet {
class MatchReshapeVisitor : public Functor<bool(void)> {
private:
PtrMap<Iterator, int> _coefficient;
public:
bool visit_(const RangeOp &c) override;
};
} // namespace nnet