void SetThreshold(float threshold) noexcept 函数功能传入阈值。 函数原型void SetThreshold(float threshold) noexcept; 约束说明当前仅softplus函数使用,当输入数据大于等于此值时恢复为线性函数。 参数说明 参数名 输入/输出 说明 thresholdcale 输入 输入的阈值,类型为float。 返回值说明无 父主题: class ActivationLayer