Skip to content
Snippets Groups Projects
Commit 6336f73d authored by Frederik Hennig's avatar Frederik Hennig
Browse files

unified shape and stride symbol naming between frontend and backend

parent 1061873b
No related merge requests found
Pipeline #64468 failed with stages
in 3 hours, 55 minutes, and 23 seconds
......@@ -160,7 +160,7 @@ class PsArrayShapeSymbol(PsArrayAssocSymbol):
__match_args__ = PsArrayAssocSymbol.__match_args__ + ("coordinate",)
def __init__(self, array: PsLinearizedArray, coordinate: int, dtype: PsIntegerType):
name = f"{array.name}_size{coordinate}"
name = f"_size_{array.name}_{coordinate}"
super().__init__(name, dtype, array)
self._coordinate = coordinate
......@@ -179,7 +179,7 @@ class PsArrayStrideSymbol(PsArrayAssocSymbol):
__match_args__ = PsArrayAssocSymbol.__match_args__ + ("coordinate",)
def __init__(self, array: PsLinearizedArray, coordinate: int, dtype: PsIntegerType):
name = f"{array.name}_stride{coordinate}"
name = f"_stride_{array.name}_{coordinate}"
super().__init__(name, dtype, array)
self._coordinate = coordinate
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment