Module burn_wgpu::kernel::reduce

source ·
Expand description

Reduction algorithms

Structs

Functions

  • Execute the argmax kernel.
  • Execute the argmin kernel.
  • Creates an empty output tensor with reduce output shape
  • Execute the mean dim kernel.
  • Executes autotune on mean_dim operation
  • Execute the mean dim kernel leveraging shared memory Probably more efficient on tensors where the dimension to reduced is much larger than the others
  • Sum all elements in the input buffer.
  • Execute the sum dim kernel.
  • Executes autotune on sum_dim operation
  • Execute the sum dim kernel leveraging shared memory Probably more efficient on tensors where the dimension to reduced is much larger than the others