|
338 | 338 |
|
339 | 339 | function Base.show(io::IO, l::GATConv)
|
340 | 340 | out_channel, in_channel = size(l.weight)
|
341 |
| - print(io, "GATConv(", in_channel, "=>", out_channel ÷ l.heads) |
| 341 | + print(io, "GATConv(", in_channel, " => ", out_channel ÷ l.heads) |
342 | 342 | print(io, ", LeakyReLU(λ=", l.negative_slope)
|
343 | 343 | print(io, "))")
|
344 | 344 | end
|
|
439 | 439 |
|
440 | 440 |
|
441 | 441 | function Base.show(io::IO, l::GATv2Conv)
|
442 |
| - out, in = size(l.weight_i) |
443 |
| - print(io, "GATv2Conv(", in, "=>", out ÷ l.heads) |
| 442 | + out, in = size(l.dense_i.weight) |
| 443 | + print(io, "GATv2Conv(", in, " => ", out ÷ l.heads) |
444 | 444 | print(io, ", LeakyReLU(λ=", l.negative_slope)
|
445 | 445 | print(io, "))")
|
446 | 446 | end
|
|
654 | 654 |
|
655 | 655 | function Base.show(io::IO, l::NNConv)
|
656 | 656 | out, in = size(l.weight)
|
657 |
| - print(io, "NNConv( $in => $out") |
| 657 | + print(io, "NNConv($in => $out") |
658 | 658 | print(io, ", aggr=", l.aggr)
|
659 | 659 | print(io, ")")
|
660 | 660 | end
|
|
776 | 776 |
|
777 | 777 | function Base.show(io::IO, l::ResGatedGraphConv)
|
778 | 778 | out_channel, in_channel = size(l.A)
|
779 |
| - print(io, "ResGatedGraphConv(", in_channel, "=>", out_channel) |
| 779 | + print(io, "ResGatedGraphConv(", in_channel, " => ", out_channel) |
780 | 780 | l.σ == identity || print(io, ", ", l.σ)
|
781 | 781 | print(io, ")")
|
782 | 782 | end
|
|
0 commit comments