ios-demo-app
ios-demo-app copied to clipboard
Issue fixed: dangling pointer that caused by 'UnsafeMutablePointer()'
Resolve https://github.com/pytorch/pytorch/issues/66993
Dangling pointer that caused by 'UnsafeMutablePointer()' would make module outputs invalid
FYI: https://github.com/pytorch/pytorch/issues/66993#issuecomment-983069009
Any chance this could be merged so I can add a PR to fix the iOS demo app as per this: https://github.com/pytorch/ios-demo-app/issues/83