*/
#include "Compiler.h"
+#include "OperationValidator.h"
#include "SubTensorAnalyzer.h"
#include "graph/dumper/Dumper.h"
#include "dumper/dot/DotDumper.h"
#include "codegen/IPlanBuilder.h"
-#include "codegen/OperationValidator.h"
#include "codegen/PlanBuilder.h"
#include "codegen/ConstantInitializer.h"
#include "graph/operation/LowerInfo.h"
neurun::codegen::PlanBuilder plan_builder{plan};
- linear->accept(neurun::codegen::OperationValidator{operands});
+ linear->accept(OperationValidator{operands});
// Plan building
linear->iterate([&](const neurun::graph::operation::Node *node) {
* limitations under the License.
*/
-#ifndef __NEURUN_CODEGEN_OPERATION_VALIDATOR_H__
-#define __NEURUN_CODEGEN_OPERATION_VALIDATOR_H__
+#ifndef __NEURUN_COMPILER_OPERATION_VALIDATOR_H__
+#define __NEURUN_COMPILER_OPERATION_VALIDATOR_H__
#include "graph/operation/NodeVisitor.h"
namespace neurun
{
-namespace codegen
+namespace compiler
{
class OperationValidator : public graph::operation::NodeVisitor
const neurun::graph::operand::Set &_ctx;
};
-} // namespace codegen
+} // namespace compiler
} // namespace neurun
-#endif // __NEURUN_CODEGEN_OPERATION_VALIDATOR_H__
+#endif // __NEURUN_COMPILER_OPERATION_VALIDATOR_H__