Cambridge-ICCS / FTorch

A library for directly calling PyTorch ML models from Fortran.
https://cambridge-iccs.github.io/FTorch/
MIT License
70 stars 15 forks source link

Add documentation on advanced use for manipulating data layout #97

Open jatkinson1000 opened 6 months ago

jatkinson1000 commented 6 months ago

Removed from being part of #20 we should add some information for advanced users about manipulating data beyond simple transposition using the 'stride' options, as was done by @jatkinson1000 and @SimonClifford in the MiMA-ML project.

## Advanced use

Those experienced with C will perhaps have noticed that there are further freedoms
available beyond those presented above.

Always stride, or is there a transpose tradeoff?