Skip to main content

sum_fallback

Function sum_fallback 

Source
pub fn sum_fallback<R: CubeRuntime>(
    tensor: CubeTensor<R>,
    strategy: SumStrategy,
) -> Result<CubeTensor<R>, ReduceError>
Expand description

Sum with fallback when client doesn’t support atomic add for the type E.