Skip to content
Snippets Groups Projects
Commit cb0f638a authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Add DestructuringBindingsForFieldClass.__repr__

parent dc5023b5
No related branches found
No related tags found
No related merge requests found
...@@ -78,6 +78,9 @@ class DestructuringBindingsForFieldClass(Node): ...@@ -78,6 +78,9 @@ class DestructuringBindingsForFieldClass(Node):
"""Inplace! substitute, similar to sympy's but modifies the AST inplace.""" """Inplace! substitute, similar to sympy's but modifies the AST inplace."""
self.body.subs(subs_dict) self.body.subs(subs_dict)
def __repr__(self):
return f'Destructuring of Tensors {self.symbols_defined}\n' + self.body.__repr__()
@property @property
def func(self): def func(self):
return self.__class__ return self.__class__
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment