Skip to main content

Module basic_math

Module basic_math 

Source
Expand description

Basic elementwise mathematical operations on quantized tensors.

Structs§

ElementwiseAddParams
Elementwise addition parameters for quantized int8 tensors.
ElementwiseMulParams
Elementwise multiplication parameters for quantized int8 tensors.

Functions§

elementwise_add_s8
Performs elementwise addition of two int8 tensors.
elementwise_add_s16
Performs elementwise addition of two int16 tensors.
elementwise_mul_s8
Performs elementwise multiplication of two int8 tensors.
elementwise_mul_s16
Performs elementwise multiplication of two int16 tensors.
elementwise_sub_s8
Performs elementwise subtraction of two int8 tensors.