Crate hodu_cpu_kernels

Crate hodu_cpu_kernels 

Source
Expand description

Hodu CPU Kernels

High-performance CPU kernels for tensor operations with support for exotic floating-point formats and comprehensive integer types.

Modules§

abs
add
add_scalar
all
any
argmax
argmin
binary
Binary operations for tensor element-wise computations
concat
concat_split
Concatenation and split operations for tensors
conv
Convolution operations for neural network layers
conv1d
conv1d_grad_weight
conv2d
conv2d_grad_weight
conv3d
conv3d_grad_weight
conv_transpose1d
conv_transpose1d_grad_weight
conv_transpose2d
conv_transpose2d_grad_weight
conv_transpose3d
conv_transpose3d_grad_weight
cos
div
div_scalar
dot
eq
eq_scalar
exp
exp2
exp10
gather
ge
ge_scalar
gelu
gt
gt_scalar
index_put
index_select
indexing
Indexing operations for tensor element selection and manipulation
le
le_scalar
ln
log2
log10
logical_and
logical_not
logical_or
logical_xor
lt
lt_scalar
macros
matmul
matrix
Matrix operations for linear algebra computations
max
maximum
maximum_scalar
mean
min
minimum
minimum_scalar
mish
mul
mul_scalar
ne
ne_scalar
neg
norm
pow
pow_scalar
prod
recip
reduce
Reduction operations for aggregating tensor values along dimensions
reduce_window_max
reduce_window_mean
reduce_window_min
reduce_window_sum
relu
scatter
scatter_add
scatter_max
scatter_min
sigmoid
sign
silu
sin
softplus
split
sqrt
square
std
sub
sub_scalar
sum
tan
tanh
unary
Unary tensor operations
var
windowing
Windowing operations for tensors

Structs§

Kernel

Enums§

CpuKernelError
Error type for CPU kernel operations

Functions§

call_binary
Execute a binary operation on two tensors
call_concat
Execute a concatenation operation on multiple tensors
call_conv
Execute a convolution operation
call_conv_grad_weight
Execute a convolution gradient weight operation
call_dot
Execute a 2D matrix multiplication operation
call_gather
Execute a gather operation
call_index_put
Execute an index_put operation
call_index_select
Execute an index_select operation
call_matmul
Execute a batched matrix multiplication operation with broadcasting
call_reduce
Execute a reduction operation
call_reduce_window
Call windowing reduction operation by kernel name
call_scatter
Execute a scatter operation (scatter, scatter_add, scatter_max, scatter_min)
call_split
Execute a split operation on a tensor
call_unary
Call unary operation by kernel name
call_unary_scalar
Call unary operation with scalar by kernel name

Type Aliases§

Result
Result type for CPU kernel operations