Tensor8Shape

Struct Tensor8Shape 

Source
pub struct Tensor8Shape<T1: DimTag, T2: DimTag, T3: DimTag, T4: DimTag, T5: DimTag, T6: DimTag, T7: DimTag, T8: DimTag> { /* private fields */ }

Trait Implementations§

Source§

impl<T1: Clone + DimTag, T2: Clone + DimTag, T3: Clone + DimTag, T4: Clone + DimTag, T5: Clone + DimTag, T6: Clone + DimTag, T7: Clone + DimTag, T8: Clone + DimTag> Clone for Tensor8Shape<T1, T2, T3, T4, T5, T6, T7, T8>

Source§

fn clone(&self) -> Tensor8Shape<T1, T2, T3, T4, T5, T6, T7, T8>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<T1: DimTag, T2: DimTag, T3: DimTag, T4: DimTag, T5: DimTag, T6: DimTag, T7: DimTag, T8: DimTag> Debug for Tensor8Shape<T1, T2, T3, T4, T5, T6, T7, T8>

Source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<L1: DimTag, L2: DimTag, L3: DimTag, L4: DimTag, L5: DimTag, L6: DimTag, L7: DimTag, L8: DimTag, R1: DimTag, R2: DimTag, R3: DimTag, R4: DimTag, R5: DimTag, R6: DimTag, R7: DimTag, R8: DimTag> PartialEq<Tensor8Shape<R1, R2, R3, R4, R5, R6, R7, R8>> for Tensor8Shape<L1, L2, L3, L4, L5, L6, L7, L8>

Source§

fn eq(&self, other: &Tensor8Shape<R1, R2, R3, R4, R5, R6, R7, R8>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T1: DimTag, T2: DimTag, T3: DimTag, T4: DimTag, T5: DimTag, T6: DimTag, T7: DimTag, T8: DimTag> Shape for Tensor8Shape<T1, T2, T3, T4, T5, T6, T7, T8>

Source§

const RANK: u16 = 8u16

The number of dimensions, also corresponding to the number of indexes.
Source§

fn count(&self) -> usize

The total number of coordinates
Source§

impl<T1: Copy + DimTag, T2: Copy + DimTag, T3: Copy + DimTag, T4: Copy + DimTag, T5: Copy + DimTag, T6: Copy + DimTag, T7: Copy + DimTag, T8: Copy + DimTag> Copy for Tensor8Shape<T1, T2, T3, T4, T5, T6, T7, T8>

Auto Trait Implementations§

§

impl<T1, T2, T3, T4, T5, T6, T7, T8> Freeze for Tensor8Shape<T1, T2, T3, T4, T5, T6, T7, T8>

§

impl<T1, T2, T3, T4, T5, T6, T7, T8> RefUnwindSafe for Tensor8Shape<T1, T2, T3, T4, T5, T6, T7, T8>

§

impl<T1, T2, T3, T4, T5, T6, T7, T8> Send for Tensor8Shape<T1, T2, T3, T4, T5, T6, T7, T8>
where T1: Send, T2: Send, T3: Send, T4: Send, T5: Send, T6: Send, T7: Send, T8: Send,

§

impl<T1, T2, T3, T4, T5, T6, T7, T8> Sync for Tensor8Shape<T1, T2, T3, T4, T5, T6, T7, T8>
where T1: Sync, T2: Sync, T3: Sync, T4: Sync, T5: Sync, T6: Sync, T7: Sync, T8: Sync,

§

impl<T1, T2, T3, T4, T5, T6, T7, T8> Unpin for Tensor8Shape<T1, T2, T3, T4, T5, T6, T7, T8>
where T1: Unpin, T2: Unpin, T3: Unpin, T4: Unpin, T5: Unpin, T6: Unpin, T7: Unpin, T8: Unpin,

§

impl<T1, T2, T3, T4, T5, T6, T7, T8> UnwindSafe for Tensor8Shape<T1, T2, T3, T4, T5, T6, T7, T8>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.