3 ms·
I disagree with this, slice notation is powerful and I use it quite a bit in DL. Even just the [:, None] trick replacing unsqueeze is super useful for me.
by whimsicalism 3y ago
I disagree with this, slice notation is powerful and I use it quite a bit in DL.
Even just the [:, None] trick replacing unsqueeze is super useful for me.