Skip to content

Commit

Permalink
Better __repr__
Browse files Browse the repository at this point in the history
  • Loading branch information
kduxin committed Nov 8, 2022
1 parent 194b21a commit 1232569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firelang/models/_fireword.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def __matmul__(self, other: FIRETensor):

def __repr__(self):
return (
f"<(funcs={self.funcs.__class__.__name__}, "
f"<FIRETensor(funcs={self.funcs.__class__.__name__}, "
f"measures={self.measures.__class__.__name__}), "
f"shape={self.funcs.shape}>"
)

0 comments on commit 1232569

Please sign in to comment.