#[repr(C)]pub struct ov_partial_shape {
pub rank: ov_rank_t,
pub dims: *mut ov_dimension_t,
}Expand description
@struct ov_partial_shape
@ingroup ov_partial_shape_c_api
@brief It represents a shape that may be partially or totally dynamic.
A PartialShape may have:
Dynamic rank. (Informal notation: ?)
Static rank, but dynamic dimensions on some or all axes.
(Informal notation examples: {1,2,?,4}, {?,?,?}, {-1,-1,-1})
Static rank, and static dimensions on all axes.
(Informal notation examples: {1,2,3,4}, {6}, {})
An interface to make user can initialize ov_partial_shape_t
Fields§
§rank: ov_rank_t!< The rank
dims: *mut ov_dimension_t!< The dimension
Trait Implementations§
Source§impl Clone for ov_partial_shape
impl Clone for ov_partial_shape
Source§fn clone(&self) -> ov_partial_shape
fn clone(&self) -> ov_partial_shape
Returns a duplicate 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 ov_partial_shape
impl Debug for ov_partial_shape
impl Copy for ov_partial_shape
Auto Trait Implementations§
impl Freeze for ov_partial_shape
impl RefUnwindSafe for ov_partial_shape
impl !Send for ov_partial_shape
impl !Sync for ov_partial_shape
impl Unpin for ov_partial_shape
impl UnwindSafe for ov_partial_shape
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