Skip to main content

EvenGatherBackend

Trait EvenGatherBackend 

Source
pub trait EvenGatherBackend: CommunicationBackend {
    // Required method
    fn all_gather_even(
        value: Self::Tensor,
        axis: usize,
        group: &Self::CommunicationGroup,
        executor: &Self::Executor,
    ) -> Result<Submission<Self::Tensor, Self::CommunicationCompletion>, Self::CommunicationError>;
}
Expand description

Equal-size gathering on an opaque communication group.

Required Methods§

Source

fn all_gather_even( value: Self::Tensor, axis: usize, group: &Self::CommunicationGroup, executor: &Self::Executor, ) -> Result<Submission<Self::Tensor, Self::CommunicationCompletion>, Self::CommunicationError>

Gathers equal-sized values and concatenates in member order on axis.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§