AccumulationTensor

Type Alias AccumulationTensor 

Source
pub type AccumulationTensor<'l, const T: Tu, D, Chip, Cluster, Slice, Time, Packet> = StreamTensor<'l, T, PositionContraction, D, Chip, Cluster, Slice, Time, Packet>;
Expand description

Tensor streamed after the contraction engine.

Aliased Type§

pub struct AccumulationTensor<'l, const T: Tu, D, Chip, Cluster, Slice, Time, Packet> { /* private fields */ }

Implementations§

Source§

impl<'l, const T: Tu, D: Scalar, Chip: M, Cluster: M, Slice: M, Time: M, Packet: M> AccumulationTensor<'l, T, D, Chip, Cluster, Slice, Time, Packet>

Source

pub fn vector_init( self, ) -> VectorInitTensor<'l, T, D, Chip, Cluster, Slice, Time, Packet>
where D: VeScalar,

Initializes Vector Engine processing from contraction output.

Trait Implementations§

Source§

impl<'l, const T: Tu, D: VeScalar, Chip: M, Cluster: M, Slice: M, Time: M, Packet: M> StreamCast<D> for AccumulationTensor<'l, T, D, Chip, Cluster, Slice, Time, Packet>

Source§

type CastOutput<D2: Scalar, OutPacket: M> = StreamTensor<'l, T, PositionCast, D2, Chip, Cluster, Slice, Time, OutPacket> where D: Cast<D2>

The output tensor type after casting to scalar type D2.
Source§

fn cast<D2: Scalar, OutPacket: M>(self) -> Self::CastOutput<D2, OutPacket>
where D: Cast<D2>,

Casts this tensor’s scalar type from D to D2. Read more