whos enhancement to pyttb utils #136
Closed
DeepBlockDeepak
started this conversation in
Ideas
Replies: 2 comments
-
The
|
Beta Was this translation helpful? Give feedback.
0 replies
-
See PR #135 for an draft implementation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Though there isn't a direct Python analogue to MATLAB's
whos
, this is a first stab at how to deal with it in Python. This specifically regards thewhos
use in the ttb docs.At the moment it looks like:
whos()
can take any number of arguments, like in the ttb doc where two tensor class objects are passed.args
.shape
attribute. Sinceshape
is a tuple, its elements are mapped to string and then joined to give us the MATLAB-styled tensor dimensions.Class
field uses only the name of the type class for brevity.Beta Was this translation helpful? Give feedback.
All reactions