"docs/source/api/vscode:/vscode.git/clone" did not exist on "29fec7d5dba8c4d4161def03dbd5978a69a3f70c"
Commit 74888fee authored by Minjie Wang's avatar Minjie Wang
Browse files

readout signature

parent 8e71b64e
......@@ -96,6 +96,25 @@ class BatchedDGLGraph(DGLGraph):
# TODO
pass
def readout(self, reduce_func):
"""Perform readout for each graph in the batch.
The readout value is a tensor of shape (B, D1, D2, ...) where B is the
batch size.
Parameters
----------
reduce_func : callable
The reduce function for readout.
Returns
-------
dict of tensors
The readout values.
"""
# TODO
pass
'''
def query_new_node(self, g, u):
idx = self.graph_idx[g]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment