- class openff.nagl.nn.PoolAtomFeatures(*args, **kwargs)[source]
Bases:
PoolingLayer
A convenience class for pooling the node feature vectors produced by a graph convolutional layer.
This class simply returns the features “h” from the graphs node data.
Methods
Returns the pooled feature vector.
Returns the number of values per molecule.
Attributes
training
- forward(molecule: DGLMolecule | DGLMoleculeBatch) Tensor [source]
Returns the pooled feature vector.