pub type FetchTensor<'l, const T: Tu, D, Chip, Cluster, Slice, Time, Packet> = StreamTensor<'l, T, PositionFetch, D, Chip, Cluster, Slice, Time, Packet>;Expand description
Tensor streamed after the fetch engine.
Aliased Type§
pub struct FetchTensor<'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> FetchTensor<'l, T, D, Chip, Cluster, Slice, Time, Packet>
impl<'l, const T: Tu, D: Scalar, Chip: M, Cluster: M, Slice: M, Time: M, Packet: M> FetchTensor<'l, T, D, Chip, Cluster, Slice, Time, Packet>
Sourcepub fn switch<Slice2: M, Time2: M>(
self,
config: SwitchConfig,
) -> SwitchTensor<'l, T, D, Chip, Cluster, Slice2, Time2, Packet>
pub fn switch<Slice2: M, Time2: M>( self, config: SwitchConfig, ) -> SwitchTensor<'l, T, D, Chip, Cluster, Slice2, Time2, Packet>
Performs switching operation to create a switched tensor.
Applies switching network routing only. The packet passes through
unchanged — no padding, no reshaping. Use SwitchTensor::collect
afterwards to normalize the packet to flit-sized chunks.
Sourcepub fn collect<Time2: M, Packet2: M>(
self,
) -> CollectTensor<'l, T, D, Chip, Cluster, Slice, Time2, Packet2>
pub fn collect<Time2: M, Packet2: M>( self, ) -> CollectTensor<'l, T, D, Chip, Cluster, Slice, Time2, Packet2>
Skips the switching network and goes directly to collect.
Slice and Time are preserved from fetch; only the packet is normalized to flit-sized chunks.