mini-caffe icon indicating copy to clipboard operation
mini-caffe copied to clipboard

does it memory safe when I use new a net ?

Open ligongzheng opened this issue 7 years ago • 1 comments

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 ?

ligongzheng avatar Nov 02 '17 13:11 ligongzheng

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

luoyetx avatar Nov 06 '17 10:11 luoyetx