alexeedm / pytorch-fortran

Pytorch bindings for Fortran
MIT License
86 stars 14 forks source link

Insert nullify(output) in all three examples. #9

Closed sebk26 closed 1 year ago

sebk26 commented 1 year ago

Hi @alexeedm Ressolving parts of #8:

alexeedm commented 1 year ago

Thanks for the suggestion! See #8, I'd prefer to remove the check so that the users don't have to nullify their pointer prior to passing them to to_array. I'm pushing this change right now actually

sebk26 commented 1 year ago

Ok. No worries.