Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does it memory safe when I use new a net ? #56

Open
ligongzheng opened this issue Nov 2, 2017 · 1 comment
Open

does it memory safe when I use new a net ? #56

ligongzheng opened this issue Nov 2, 2017 · 1 comment

Comments

@ligongzheng
Copy link

hello:
I have read your examples and almost all the nets were created in the stack instead of heap. But I alloc the net in the heap memory。Actually,it's ok worked on X86 linux,but the segmentation fault was occurred when destruct the net worked on arm linux. The code is totally same,what make this different ?

@luoyetx
Copy link
Owner

luoyetx commented Nov 6, 2017

sorry, I have no idea. I didn't test it on arm linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants