pub struct OperandDesc {
pub data_type: DataType,
pub shape: Vec<Dimension>,
}Fields§
§data_type: DataType§shape: Vec<Dimension>Implementations§
Source§impl OperandDesc
impl OperandDesc
pub fn static_shape(&self) -> Option<Vec<u32>>
Trait Implementations§
Source§impl Clone for OperandDesc
impl Clone for OperandDesc
Source§fn clone(&self) -> OperandDesc
fn clone(&self) -> OperandDesc
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 OperandDesc
impl Debug for OperandDesc
Source§impl<'de> Deserialize<'de> for OperandDesc
impl<'de> Deserialize<'de> for OperandDesc
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OperandDesc
impl PartialEq for OperandDesc
Source§impl Serialize for OperandDesc
impl Serialize for OperandDesc
impl Eq for OperandDesc
impl StructuralPartialEq for OperandDesc
Auto Trait Implementations§
impl Freeze for OperandDesc
impl RefUnwindSafe for OperandDesc
impl Send for OperandDesc
impl Sync for OperandDesc
impl Unpin for OperandDesc
impl UnsafeUnpin for OperandDesc
impl UnwindSafe for OperandDesc
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