From 68338eafb7ff72612221fa0ec796656ba27ddfe5 Mon Sep 17 00:00:00 2001 From: Bryce Arden Date: Tue, 2 Mar 2021 16:42:21 -0600 Subject: [PATCH] [chore] Make variable names in prim.py more clear --- frontends/pytorch/test/node_import/prim.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontends/pytorch/test/node_import/prim.py b/frontends/pytorch/test/node_import/prim.py index 845d388bf..dbd696a71 100644 --- a/frontends/pytorch/test/node_import/prim.py +++ b/frontends/pytorch/test/node_import/prim.py @@ -70,8 +70,8 @@ def prim_unchecked_cast(i: typing.Optional[int]): # CHECK: return %[[RET]]#0 : i64 @mb.import_function @torch.jit.script -def prim_TupleUnpack(lt: typing.Tuple[int, int]): - val, _ = lt +def prim_TupleUnpack(tup: typing.Tuple[int, int]): + val, _ = tup return val # CHECK-LABEL: func @prim_ListUnpack( @@ -80,8 +80,8 @@ def prim_TupleUnpack(lt: typing.Tuple[int, int]): # CHECK: return %[[RET]]#1 : i64 @mb.import_function @torch.jit.script -def prim_ListUnpack(lt: typing.List[int]): - _, val, _ = lt +def prim_ListUnpack(l: typing.List[int]): + _, val, _ = l return val mb.module.operation.print()