JuliaTorch icon indicating copy to clipboard operation
JuliaTorch copied to clipboard

Status

Open datnamer opened this issue 7 years ago • 1 comments

Hi,

Thanks for this package. Does it work? Is it possible or reasonable efficient to compose arbitrary pytorch models and layers from julia?

Thanks!

datnamer avatar Dec 19 '18 22:12 datnamer

Does it work?

All examples in this repository have been tested with PyTorch 0.4 and Julia 1.0.

Is it possible or reasonable efficient to compose arbitrary pytorch models and layers from julia

Technically, it is possible to use arbitrary pytorch modules in Julia. But as PyCall does not support index for the torch tensor so you have to write the code like this line to perfrom index. I have to admit that for the advanced index this will seem to be boilerplate.

boathit avatar Dec 20 '18 02:12 boathit