Skip to content

Commit 883f04d

Browse files
leave sigmoid as before
1 parent 1174336 commit 883f04d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GNNLux/src/layers/temporalconv.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ end
3535

3636
function TGCNCell(ch::Pair{Int, Int}; use_bias = true, init_weight = glorot_uniform,
3737
init_state = zeros32, init_bias = zeros32, add_self_loops = false,
38-
use_edge_weight = true, act = relu)
38+
use_edge_weight = true, act = sigmoid)
3939
in_dims, out_dims = ch
4040
conv = GCNConv(ch, act; init_weight, init_bias, use_bias, add_self_loops, use_edge_weight)
4141
gru = Lux.GRUCell(out_dims => out_dims; use_bias, init_weight = (init_weight, init_weight, init_weight), init_bias = (init_bias, init_bias, init_bias), init_state = init_state)
@@ -59,7 +59,7 @@ function Base.show(io::IO, tgcn::TGCNCell)
5959
end
6060

6161
"""
62-
TGCN(in => out; use_bias = true, init_weight = glorot_uniform, init_state = zeros32, init_bias = zeros32, add_self_loops = false, use_edge_weight = true, act = sigmoid)
62+
TGCN(in => out; use_bias = true, init_weight = glorot_uniform, init_state = zeros32, init_bias = zeros32, add_self_loops = false, use_edge_weight = true, act = relu)
6363
6464
Temporal Graph Convolutional Network (T-GCN) recurrent layer from the paper [T-GCN: A Temporal Graph Convolutional Network for Traffic Prediction](https://arxiv.org/pdf/1811.05320.pdf).
6565

0 commit comments

Comments
 (0)