Re:Tensor Considered Harmful Part 2
by mcabbott on Monday January 14, 2019 @06:33AM
(#18902268)
Index notation is often less confusing than numbered dimensions, without requiring an you to use an explicit NamedTensor.
Perhaps of interest, here's a quick prototype of how this could be useful. If you use an index "n"-for-number on the dimension for which you previously used an index "c"-for-colour (when performing any einsum or slicing or re-shaping operation) then you will get a warning:
Perhaps of interest, here's a quick prototype of how this could be useful. If you use an index "n"-for-number on the dimension for which you previously used an index "c"-for-colour (when performing any einsum or slicing or re-shaping operation) then you will get a warning:
https://github.com/mcabbott/TensorSlice.jl#checking