intel / openvino-rs

Rust bindings for OpenVINO™
Apache License 2.0
84 stars 24 forks source link

Add Blob::buffer_as_type() #55

Closed chemicstry closed 1 year ago

chemicstry commented 1 year ago

This adds an immutable version of buffer_mut_as_type() like there is buffer() and buffer_mut().

Also fixes mutability of methods that shouldn't require &mut self. If there was a reason why these methods needed to be mut, let me know.