Struct openvino_sys::tensor_desc
source · #[repr(C)]pub struct tensor_desc {
pub layout: layout_e,
pub dims: dimensions_t,
pub precision: precision_e,
}
Expand description
@struct tensor_desc @brief Represents detailed information for a tensor
Fields§
§layout: layout_e
§dims: dimensions_t
§precision: precision_e
Trait Implementations§
source§impl Clone for tensor_desc
impl Clone for tensor_desc
source§fn clone(&self) -> tensor_desc
fn clone(&self) -> tensor_desc
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for tensor_desc
impl Debug for tensor_desc
impl Copy for tensor_desc
Auto Trait Implementations§
impl RefUnwindSafe for tensor_desc
impl Send for tensor_desc
impl Sync for tensor_desc
impl Unpin for tensor_desc
impl UnwindSafe for tensor_desc
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more