Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GlobalConcatPool #159

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

casper2002casper
Copy link

Concatenates global features to the node features, is used to integrate global properties into the output of the nodes.

@codecov
Copy link

codecov bot commented Apr 15, 2022

Codecov Report

Merging #159 (866e416) into master (eb43bc9) will decrease coverage by 0.00%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##           master     #159      +/-   ##
==========================================
- Coverage   85.45%   85.44%   -0.01%     
==========================================
  Files          14       14              
  Lines        1299     1305       +6     
==========================================
+ Hits         1110     1115       +5     
- Misses        189      190       +1     
Impacted Files Coverage Δ
src/layers/pool.jl 93.54% <83.33%> (-2.46%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eb43bc9...866e416. Read the comment docs.

src/layers/pool.jl Outdated Show resolved Hide resolved
Comment on lines 48 to 49
GlobalConcatPool(aggr)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs a docstring

@CarloLucibello
Copy link
Owner

Nice addition, thanks. Needs tests and a few words explaining the behavior in the docstring.

@casper2002casper
Copy link
Author

casper2002casper commented Apr 16, 2022

I changed it a bit, so any pooling layer can be used. Do you agree with this change?
If so I'll add some documentation

@casper2002casper
Copy link
Author

The test uses a GlobalPool layer, is this OK as it happens after the GlobalPool test, or should the test be fully isolated?

@casper2002casper casper2002casper marked this pull request as draft April 19, 2022 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants