google / google/gematria

[TF2] Simplify gnn_model_base init and _forward

Open
#322 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
95
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Currently gnn_model_base and a couple other subclasses have a lot of duplicated code between their `init` functions and their _forward` functions. We should be able to figure out a better way to abstract this out to preserve functionality while making the code simpler.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.