SciNim / flambeau

Nim bindings to libtorch
85 stars 3 forks source link

add contiguous function #39

Closed Clonkk closed 1 year ago

Clonkk commented 1 year ago

Adding the contiguous function (Arraymancer equivalent : asContiguous)

I've also observed an issue where the Nim compiler wouldn't compile due to "_" present in slicing syntax during indexing. Couldn't reproduce in tests though

Vindaar commented 1 year ago

Nice!

Anything else you want to do?

Clonkk commented 1 year ago

I will try to make small PR bit by bit. Merging for now as i cannot seem to reproduce the syntax error.

I also noted several issued when importing both arraymancer and flambeau in the same file