mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-07-09 17:08:33 +00:00
vulkan: fix step operator for 0 input (#25036)
This commit is contained in:
parent
c299a92c38
commit
0b6529d818
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ float op_leaky_relu(float x) {
|
|||
}
|
||||
|
||||
float op_step(float x) {
|
||||
return x >= 0.0f ? 1.0f : 0.0f;
|
||||
return x > 0.0f ? 1.0f : 0.0f;
|
||||
}
|
||||
|
||||
float op_tanh(float x) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue