pub struct ProgramTensorSpec {
pub dimensions: Vec<u64>,
pub element_type: ElementType,
pub layout: ResolvedTensorLayout,
}Fields§
§dimensions: Vec<u64>§element_type: ElementType§layout: ResolvedTensorLayoutImplementations§
Trait Implementations§
Source§impl Clone for ProgramTensorSpec
impl Clone for ProgramTensorSpec
Source§fn clone(&self) -> ProgramTensorSpec
fn clone(&self) -> ProgramTensorSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProgramTensorSpec
impl Debug for ProgramTensorSpec
Source§impl<'de> Deserialize<'de> for ProgramTensorSpec
impl<'de> Deserialize<'de> for ProgramTensorSpec
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
impl Eq for ProgramTensorSpec
Source§impl PartialEq for ProgramTensorSpec
impl PartialEq for ProgramTensorSpec
Source§impl Serialize for ProgramTensorSpec
impl Serialize for ProgramTensorSpec
impl StructuralPartialEq for ProgramTensorSpec
Auto Trait Implementations§
impl Freeze for ProgramTensorSpec
impl RefUnwindSafe for ProgramTensorSpec
impl Send for ProgramTensorSpec
impl Sync for ProgramTensorSpec
impl Unpin for ProgramTensorSpec
impl UnsafeUnpin for ProgramTensorSpec
impl UnwindSafe for ProgramTensorSpec
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