Skip to content

Commit 7732ead

Browse files
Update src/layers/temporalconv.jl
1 parent 8036671 commit 7732ead

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/layers/temporalconv.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -425,12 +425,12 @@ end
425425
function (dcgru::DCGRUCell)(h, g::GNNGraph, x)
426426
= vcat(x, h)
427427
z = dcgru.dconv_u(g, h̃)
428-
z = Flux.sigmoid_fast.(z)
428+
z = NNlib.sigmoid_fast.(z)
429429
r = dcgru.dconv_r(g, h̃)
430-
r = Flux.sigmoid_fast.(r)
430+
r = NNlib.sigmoid_fast.(r)
431431
= vcat(x, h .* r)
432432
c = dcgru.dconv_c(g, ĥ)
433-
c = Flux.tanh.(c)
433+
c = tanh.(c)
434434
h = z.* h + (1 .- z) .* c
435435
return h, h
436436
end

0 commit comments

Comments
 (0)