issues
search
intel
/
openvino-rs
Rust bindings for OpenVINO™
Apache License 2.0
80
stars
23
forks
source link
remove tensor new_from_host_ptr function
#125
Closed
rahulchaphalkar
closed
2 months ago
rahulchaphalkar
commented
2 months ago
Remove
new_from_host_ptr
function, since it was easy
data
field to go out of scope, causing a seg fault later in openvino.
Now using
copy_from_buffer_slice
on the buffer of a newly created tensor
new_from_host_ptr
function, since it was easydata
field to go out of scope, causing a seg fault later in openvino.copy_from_buffer_slice
on the buffer of a newly created tensor