-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
114 changed files
with
3,012 additions
and
575 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 74 additions & 0 deletions
74
tensorflow_gnn/docs/api_docs/python/models/gat_v2/graph_update_from_config_dict.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# gat_v2.graph_update_from_config_dict | ||
|
||
[TOC] | ||
|
||
<!-- Insert buttons and diff --> | ||
|
||
<table class="tfo-notebook-buttons tfo-api nocontent" align="left"> | ||
<td> | ||
<a target="_blank" href="https://github.com/tensorflow/gnn/tree/master/tensorflow_gnn/models/gat_v2/config_dict.py#L42-L62"> | ||
<img src="https://www.tensorflow.org/images/GitHub-Mark-32px.png" /> | ||
View source on GitHub | ||
</a> | ||
</td> | ||
</table> | ||
|
||
Returns a GATv2MPNNGraphUpdate initialized from `cfg`. | ||
|
||
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> | ||
<code>gat_v2.graph_update_from_config_dict( | ||
cfg: config_dict.ConfigDict | ||
) -> tf.keras.layers.Layer | ||
</code></pre> | ||
|
||
<!-- Placeholder for "Used in" --> | ||
<!-- Tabular view --> | ||
|
||
<table class="responsive fixed orange"> | ||
<colgroup><col width="214px"><col></colgroup> | ||
<tr><th colspan="2"><h2 class="add-link">Args</h2></th></tr> | ||
|
||
<tr> | ||
<td> | ||
`cfg`<a id="cfg"></a> | ||
</td> | ||
<td> | ||
A `ConfigDict` with the fields defined by | ||
`graph_update_get_config_dict()`. All fields with non-`None` values are | ||
used as keyword arguments for initializing and returning a | ||
`GATv2MPNNGraphUpdate` object. For the required arguments of | ||
`GATv2MPNNGraphUpdate.__init__`, users must set a value in | ||
`cfg` before passing it here. | ||
</td> | ||
</tr> | ||
</table> | ||
|
||
<!-- Tabular view --> | ||
|
||
<table class="responsive fixed orange"> | ||
<colgroup><col width="214px"><col></colgroup> | ||
<tr><th colspan="2"><h2 class="add-link">Returns</h2></th></tr> | ||
<tr class="alt"> | ||
<td colspan="2"> | ||
A new `GATv2MPNNGraphUpdate` object. | ||
</td> | ||
</tr> | ||
|
||
</table> | ||
|
||
<!-- Tabular view --> | ||
|
||
<table class="responsive fixed orange"> | ||
<colgroup><col width="214px"><col></colgroup> | ||
<tr><th colspan="2"><h2 class="add-link">Raises</h2></th></tr> | ||
|
||
<tr> | ||
<td> | ||
`TypeError`<a id="TypeError"></a> | ||
</td> | ||
<td> | ||
if `cfg` fails to supply a required argument for | ||
`GATv2MPNNGraphUpdate.__init__`. | ||
</td> | ||
</tr> | ||
</table> |
22 changes: 22 additions & 0 deletions
22
tensorflow_gnn/docs/api_docs/python/models/gat_v2/graph_update_get_config_dict.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# gat_v2.graph_update_get_config_dict | ||
|
||
[TOC] | ||
|
||
<!-- Insert buttons and diff --> | ||
|
||
<table class="tfo-notebook-buttons tfo-api nocontent" align="left"> | ||
<td> | ||
<a target="_blank" href="https://github.com/tensorflow/gnn/tree/master/tensorflow_gnn/models/gat_v2/config_dict.py#L22-L39"> | ||
<img src="https://www.tensorflow.org/images/GitHub-Mark-32px.png" /> | ||
View source on GitHub | ||
</a> | ||
</td> | ||
</table> | ||
|
||
Returns ConfigDict for graph_update_from_config_dict() with defaults. | ||
|
||
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link"> | ||
<code>gat_v2.graph_update_get_config_dict() -> config_dict.ConfigDict | ||
</code></pre> | ||
|
||
<!-- Placeholder for "Used in" --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.