Skip to content

Commit

Permalink
COSMIT slightly less confusing repr for CplxParameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ivannz committed Dec 21, 2019
1 parent 982b146 commit 317aeaf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cplxmodule/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ def __init__(self, cplx):
# save reference to the underlying cplx data
self._cplx = cplx

def extra_repr(self):
return repr(tuple(self._cplx.shape))[1:-1]

@property
def data(self):
return self._cplx
Expand Down

0 comments on commit 317aeaf

Please sign in to comment.