I wrote Python Data layer and at setup stage creating batch array(e.g. (256,3,224,224)) where I store data, rewriting this array memory every time when reshape function is called, not allocating new memory every time.I think it is fine if caffe copies this memory array somewhere for its use, not modifying this memory location and do not calling reshape before this memory copied. Is everything fine with this logic?
--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users+unsubscribe@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/ec996770-125a-4f60-993e-68e1ac098b2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.