From 9e0b8e2e208f0915e7e19640a8dfaf28462cc7f1 Mon Sep 17 00:00:00 2001 From: Arno Eigenwillig Date: Fri, 27 Jan 2023 10:03:24 -0800 Subject: [PATCH] Refresh api_docs at commit https://github.com/tensorflow/gnn/commit/3f6e17aef441c6f154f06d4068f1ed466a5d1305 PiperOrigin-RevId: 505144955 --- .../models/gat_v2/GATv2HomGraphUpdate.md | 2 +- .../models/gat_v2/GATv2MPNNGraphUpdate.md | 2 +- .../api_docs/python/models/gcn/GCNConv.md | 15 +++- .../python/models/gcn/GCNHomGraphUpdate.md | 2 +- .../graph_sage/GCNGraphSAGENodeSetUpdate.md | 2 +- .../graph_sage/GraphSAGEAggregatorConv.md | 5 +- .../models/graph_sage/GraphSAGEGraphUpdate.md | 2 +- .../models/graph_sage/GraphSAGENextState.md | 2 +- .../models/graph_sage/GraphSAGEPoolingConv.md | 5 +- .../python/models/multi_head_attention.md | 6 ++ .../MultiHeadAttentionConv.md | 41 +++++---- .../MultiHeadAttentionEdgePool.md | 3 +- .../MultiHeadAttentionHomGraphUpdate.md | 5 +- .../MultiHeadAttentionMPNNGraphUpdate.md | 6 +- .../multi_head_attention/all_symbols.md | 2 + .../graph_update_from_config_dict.md | 74 ++++++++++++++++ .../graph_update_get_config_dict.md | 22 +++++ .../vanilla_mpnn/VanillaMPNNGraphUpdate.md | 2 +- .../graph_update_from_config_dict.md | 4 +- tensorflow_gnn/docs/api_docs/python/tfgnn.md | 11 ++- .../docs/api_docs/python/tfgnn/Context.md | 16 ++-- .../docs/api_docs/python/tfgnn/ContextSpec.md | 15 ++-- .../docs/api_docs/python/tfgnn/EdgeSet.md | 19 ++-- .../docs/api_docs/python/tfgnn/EdgeSetSpec.md | 17 ++-- .../docs/api_docs/python/tfgnn/GraphTensor.md | 14 +-- .../api_docs/python/tfgnn/GraphTensorSpec.md | 10 +-- .../docs/api_docs/python/tfgnn/NodeSet.md | 18 ++-- .../docs/api_docs/python/tfgnn/NodeSetSpec.md | 17 ++-- .../docs/api_docs/python/tfgnn/all_symbols.md | 4 + .../tfgnn/check_compatible_with_schema_pb.md | 74 ++++++++++++++++ .../tfgnn/check_homogeneous_graph_tensor.md | 5 +- .../python/tfgnn/check_scalar_graph_tensor.md | 7 +- .../tfgnn/create_graph_spec_from_schema_pb.md | 3 +- .../tfgnn/create_schema_pb_from_graph_spec.md | 6 +- .../python/tfgnn/dataset_from_generator.md | 3 - .../api_docs/python/tfgnn/experimental.md | 31 +++++++ .../docs/api_docs/python/tfgnn/homogeneous.md | 5 +- .../api_docs/python/tfgnn/is_ragged_tensor.md | 2 +- .../python/tfgnn/keras/ConvGNNBuilder.md | 4 +- .../api_docs/python/tfgnn/keras/layers.md | 3 + .../tfgnn/keras/layers/EdgeSetUpdate.md | 1 - .../python/tfgnn/keras/layers/ItemDropout.md | 87 +++++++++++++++++++ .../tfgnn/keras/layers/MakeEmptyFeature.md | 1 - .../python/tfgnn/keras/layers/Readout.md | 4 +- .../tfgnn/keras/layers/ResidualNextState.md | 27 +++--- .../python/tfgnn/keras/layers/SimpleConv.md | 5 +- .../keras/layers/SingleInputNextState.md | 2 +- .../docs/api_docs/python/tfgnn/mask_edges.md | 2 - .../docs/api_docs/python/tfgnn/node_degree.md | 74 ++++++++++++++++ .../api_docs/python/tfgnn/reorder_nodes.md | 4 +- .../python/tfgnn/shuffle_features_globally.md | 2 +- .../api_docs/python/tfgnn/shuffle_nodes.md | 3 - .../api_docs/python/tfgnn/write_example.md | 7 +- 53 files changed, 535 insertions(+), 170 deletions(-) create mode 100644 tensorflow_gnn/docs/api_docs/python/models/multi_head_attention/graph_update_from_config_dict.md create mode 100644 tensorflow_gnn/docs/api_docs/python/models/multi_head_attention/graph_update_get_config_dict.md create mode 100644 tensorflow_gnn/docs/api_docs/python/tfgnn/check_compatible_with_schema_pb.md create mode 100644 tensorflow_gnn/docs/api_docs/python/tfgnn/experimental.md create mode 100644 tensorflow_gnn/docs/api_docs/python/tfgnn/keras/layers/ItemDropout.md create mode 100644 tensorflow_gnn/docs/api_docs/python/tfgnn/node_degree.md diff --git a/tensorflow_gnn/docs/api_docs/python/models/gat_v2/GATv2HomGraphUpdate.md b/tensorflow_gnn/docs/api_docs/python/models/gat_v2/GATv2HomGraphUpdate.md index cc01470b..1b329613 100644 --- a/tensorflow_gnn/docs/api_docs/python/models/gat_v2/GATv2HomGraphUpdate.md +++ b/tensorflow_gnn/docs/api_docs/python/models/gat_v2/GATv2HomGraphUpdate.md @@ -20,7 +20,7 @@ Returns a GraphUpdate layer with a Graph Attention Network V2 (GATv2). *, num_heads: int, per_head_channels: int, - receiver_tag: tfgnn.IncidentNodeOrContextTag, + receiver_tag: tfgnn.IncidentNodeTag, feature_name: str = tfgnn.HIDDEN_STATE, heads_merge_type: str = 'concat', name: str = 'gat_v2', diff --git a/tensorflow_gnn/docs/api_docs/python/models/gat_v2/GATv2MPNNGraphUpdate.md b/tensorflow_gnn/docs/api_docs/python/models/gat_v2/GATv2MPNNGraphUpdate.md index d3cf1a08..408b4335 100644 --- a/tensorflow_gnn/docs/api_docs/python/models/gat_v2/GATv2MPNNGraphUpdate.md +++ b/tensorflow_gnn/docs/api_docs/python/models/gat_v2/GATv2MPNNGraphUpdate.md @@ -22,7 +22,7 @@ Returns a GraphUpdate layer for message passing with GATv2 pooling. message_dim: int, num_heads: int, heads_merge_type: str = 'concat', - receiver_tag: tfgnn.IncidentNodeOrContextTag, + receiver_tag: tfgnn.IncidentNodeTag, node_set_names: Optional[Collection[tfgnn.NodeSetName]] = None, edge_feature: Optional[tfgnn.FieldName] = None, l2_regularization: float = 0.0, diff --git a/tensorflow_gnn/docs/api_docs/python/models/gcn/GCNConv.md b/tensorflow_gnn/docs/api_docs/python/models/gcn/GCNConv.md index a738e0b5..2df82a19 100644 --- a/tensorflow_gnn/docs/api_docs/python/models/gcn/GCNConv.md +++ b/tensorflow_gnn/docs/api_docs/python/models/gcn/GCNConv.md @@ -6,7 +6,7 @@ + + +