hardtanh_tile
-
void ckernel::hardtanh_tile_init()
-
Please refer to documentation for any_init.
-
void ckernel::hardtanh_tile(uint32_t idst, uint32_t param0, uint32_t param1)
-
Performs element-wise hardtanh 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
param0 The minimum value of the linear region range
param1 The maximum value of the linear region range