We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a5c8bf commit ebff33cCopy full SHA for ebff33c
backends/vulkan/runtime/graph/ops/glsl/activations.h
@@ -18,7 +18,7 @@ float hardswish(float x) {
18
19
vec4 hardswish(vec4 tex) {
20
return vec4(
21
- hardswish(tex.x), hardswish(tex.y), hardswish(tex.z), hardswish(tex.z));
+ hardswish(tex.x), hardswish(tex.y), hardswish(tex.z), hardswish(tex.w));
22
}
23
24
float hardshrink(float x, float lambda, float neg_lambda) {
0 commit comments