diff --git a/vta/python/vta/top/graphpack.py b/vta/python/vta/top/graphpack.py index afb11a9518078..846d50af9d64f 100644 --- a/vta/python/vta/top/graphpack.py +++ b/vta/python/vta/top/graphpack.py @@ -245,7 +245,7 @@ def is_float_op(self, call): return False -class ExprLocater(ExprMutator): +class ExprLocator(ExprMutator): """Visitor to locate op on an AST. """ def __init__(self): @@ -577,7 +577,7 @@ def graph_pack(expr, expr = run_opt_pass(expr, transform.InferType()) if device_annot: - expr_locator = ExprLocater() + expr_locator = ExprLocator() expr_locator.visit(expr) annot_start = op.op.get(annot_start_name)