Skip to main content

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
concat
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
le
le_scalar
ln
log2
log10
logical_and
logical_not
logical_or
logical_xor
lt
lt_scalar
macros
matmul
max
maximum
maximum_scalar
mean
min
minimum
minimum_scalar
mish
mul
mul_scalar
ne
ne_scalar
neg
norm
ops_binary
Binary operations for tensor element-wise computations
ops_concat_split
Concatenation and split operations for tensors
ops_conv
Convolution operations for neural network layers
ops_indexing
Indexing operations for tensor element selection and manipulation
ops_matrix
Matrix operations for linear algebra computations
ops_reduce
Reduction operations for aggregating tensor values along dimensions
ops_unary
Unary tensor operations
ops_windowing
Windowing operations for tensors
pow
pow_scalar
prod
recip
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
var

Structs§

Kernel

Enums§

CpuKernelError
Error type for CPU kernel operations

Functions§

call_ops_binary
Execute a binary operation on two tensors
call_ops_concat
Execute a concatenation operation on multiple tensors
call_ops_conv
Execute a convolution operation
call_ops_conv_grad_weight
Execute a convolution gradient weight operation
call_ops_dot
Execute a 2D matrix multiplication operation
call_ops_gather
Execute a gather operation
call_ops_index_put
Execute an index_put operation
call_ops_index_select
Execute an index_select operation
call_ops_matmul
Execute a batched matrix multiplication operation with broadcasting
call_ops_reduce
Execute a reduction operation
call_ops_reduce_window
Call windowing reduction operation by kernel name
call_ops_scatter
Execute a scatter operation (scatter, scatter_add, scatter_max, scatter_min)
call_ops_split
Execute a split operation on a tensor
call_ops_unary
Call unary operation by kernel name
call_ops_unary_scalar
Call unary operation with scalar by kernel name

Type Aliases§

Result
Result type for CPU kernel operations