is it safe to put mutable and immutable reference in the same function call

6 views
Skip to first unread message

Yifan Wang

unread,
Oct 13, 2016, 4:10:19 AM10/13/16
to Caffe Users
say I wanna do
caffe_mul(N, blob.cpu_data(), blob.cpu_data(), blob.mutable_cpu_data());

is it legal and safe?
Reply all
Reply to author
Forward
0 new messages