Ubuntu how to input the dot duct unicode "⊗"?

71 views
Skip to first unread message

Honghe Wu

unread,
May 24, 2018, 11:15:44 AM5/24/18
to Swift for TensorFlow
I use Clion to edit Swift for TensorFlow on Ubuntu 16.04.

Chris Lattner

unread,
May 24, 2018, 11:38:33 AM5/24/18
to Honghe Wu, Swift for TensorFlow
On May 24, 2018, at 8:15 AM, Honghe Wu <leopa...@gmail.com> wrote:
> I use Clion to edit Swift for TensorFlow on Ubuntu 16.04.

One way is to copy and paste it :-)

That said, it is worth knowing that a⊗b is the same as a.dot(b), so you can use whichever you prefer.

-Chris


Richard Wei

unread,
May 25, 2018, 4:37:42 AM5/25/18
to Swift for TensorFlow, Honghe Wu, Chris Lattner
We will consider renaming `a.dot(b)` to `matmul(a, b)` to accurately reflect the operator’s mathematical properties and make it familiar to TensorFlow users. 

Previously `dot` was chosen over `matmul` because of naming convention concerns (acronyms aren’t common in Swift) and that we wanted to make it short (so full names like `a.matrixMultiplied(by: b)` isn’t acceptable).  That said, `matmul` is really a word of art and thus should be preferred.  

We should consider redefining ⊗ operator as well, since ⊗ often denotes outer product and Kronecker product

-Richard

--
You received this message because you are subscribed to the Google Groups "Swift for TensorFlow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swift+un...@tensorflow.org.


Reply all
Reply to author
Forward
0 new messages