This PR is aimed at using more up to date function and API calls
See #31 for more info.
Side note : Even though pytorch master emits warnings about AT_DISPATCH_FLOATING_TYPES (as far as I understood, it should now be based on input.scalar_type() instead of input.type() ), I didn't upgrade it because it would make it incompatible with pytorch 1.0.1
This PR is aimed at using more up to date function and API calls See #31 for more info.
Side note : Even though pytorch master emits warnings about
AT_DISPATCH_FLOATING_TYPES
(as far as I understood, it should now be based oninput.scalar_type()
instead ofinput.type()
), I didn't upgrade it because it would make it incompatible with pytorch 1.0.1