You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find to_* more readable and I think it follows the snake case convention. However I think aligning with numpy is probably the better option at this point.
I agree with @ntjohnson1 that to_* is more readable and follows snake case convention. I am less experienced and more prone to statements like "numpy and scipy got to* wrong".
(I was going to make a Shakespeare pun, but I resisted...)
What should the convention be for the conversion methods?
Here are a couple in place already:
sptensor.spmatrix
(aligns with MATLAB TTB)tensor.to_sptensor
ktensor.tolist
ktensor.tovec
ktensor.to_tensor
Note:
numpy
andscipy
supportto*
methods. Examples (using tab completion to illustrate):Suggestion: In
pyttb
, we should align withnumpy
andscipy
conventions.@jeremy-myers @ntjohnson1 Please weigh in.
The text was updated successfully, but these errors were encountered: