ankane / torch.rb

Deep learning for Ruby, powered by LibTorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docs: Undefined method `T` for `tensor`

bockets opened this issue · comments

tensor.matmul(tensor.T)

Looks like a typo, but the next part of the line has tensor.t, so I'm not entirely sure.

Hi @bockets, that's the correct output, but fixed syntax highlighting for the block.

Sorry, I see what you're saying now. Updated in the commit above.