celu_tile

void ckernel::celu_tile_init()

Please refer to documentation for any_init.

template<bool is_fp32_dest_acc_en = DST_ACCUM_MODE>
void ckernel::celu_tile(uint32_t idst, uint32_t alpha, uint32_t alpha_recip)

Performs element-wise celu operation. The DST register buffer must be in acquired state via acquire_dst call. This call is blocking and is only available on the compute engine.

Return value: None

Argument Description

idst The index of the tile in DST register buffer to perform the computation on

alpha The alpha parameter for the CELU function

alpha_recip The reciprocal of the alpha parameter for the CELU function