GOOD.utils.data
Some data process utils including construction of molecule PyG graph from smile (for compatibility).
Functions
|
Repeat a graph |
|
Converts a SMILES string to a torch_geometric.data.data.Data instance. |
- GOOD.utils.data.batch_input(G: Data, batch_size: int, num_nodes: Optional[int] = None, node_attrs: list = ['color'])[source]
Repeat a graph
batch_size
times and pack into a Batch.