#[repr(C)]pub struct TensorDescriptionARM<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub tiling: TensorTilingARM,
pub format: Format,
pub dimension_count: u32,
pub p_dimensions: *const i64,
pub p_strides: *const i64,
pub usage: TensorUsageFlagsARM,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *const c_void§tiling: TensorTilingARM§format: Format§dimension_count: u32§p_dimensions: *const i64§p_strides: *const i64§usage: TensorUsageFlagsARM§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> TensorDescriptionARM<'a>
impl<'a> TensorDescriptionARM<'a>
pub fn tiling(self, tiling: TensorTilingARM) -> Self
pub fn format(self, format: Format) -> Self
pub fn dimensions(self, dimensions: &'a [i64]) -> Self
pub fn strides(self, strides: &'a [i64]) -> Self
pub fn usage(self, usage: TensorUsageFlagsARM) -> Self
Trait Implementations§
Source§impl<'a> Clone for TensorDescriptionARM<'a>
impl<'a> Clone for TensorDescriptionARM<'a>
Source§fn clone(&self) -> TensorDescriptionARM<'a>
fn clone(&self) -> TensorDescriptionARM<'a>
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<'a> Debug for TensorDescriptionARM<'a>
impl<'a> Debug for TensorDescriptionARM<'a>
Source§impl Default for TensorDescriptionARM<'_>
impl Default for TensorDescriptionARM<'_>
Source§impl<'a> TaggedStructure for TensorDescriptionARM<'a>
impl<'a> TaggedStructure for TensorDescriptionARM<'a>
const STRUCTURE_TYPE: StructureType = StructureType::TENSOR_DESCRIPTION_ARM
impl<'a> Copy for TensorDescriptionARM<'a>
impl ExtendsDataGraphPipelineConstantARM for TensorDescriptionARM<'_>
impl ExtendsDataGraphPipelineResourceInfoARM for TensorDescriptionARM<'_>
impl Send for TensorDescriptionARM<'_>
impl Sync for TensorDescriptionARM<'_>
Auto Trait Implementations§
impl<'a> Freeze for TensorDescriptionARM<'a>
impl<'a> RefUnwindSafe for TensorDescriptionARM<'a>
impl<'a> Unpin for TensorDescriptionARM<'a>
impl<'a> UnwindSafe for TensorDescriptionARM<'a>
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