graph2mat.bindings.torch.TorchBasisMatrixData
- class graph2mat.bindings.torch.TorchBasisMatrixData(*args, **kwargs)[source]
Bases:
BasisMatrixDataBase[Tensor],DataExtension of
BasisMatrixDataBaseto be used within pytorch.All this class implements is the conversion of numpy arrays to torch tensors and back. The rest of the functionality is inherited from
BasisMatrixDataBase.Please refer to the documentation of
BasisMatrixDataBasefor more information.See also
graph2mat.BasisMatrixDataBaseThe class that implements the heavy lifting of the data processing.
Methods
Attributes
neigh_iscShape (n_edges,).
positionsShape (n_points, 3).
shiftsShape (n_edges, 3).
cellShape (3,3).
n_supercellsTotal number of auxiliary cells.
nscNumber of auxiliary cells required in each direction to account for all neighbor interactions.
point_labelsShape (n_point_labels,).
edge_labelsShape (n_edge_labels,).
point_typesShape (n_points,).
edge_typesShape (n_edges,).
labels_point_filterlabels_edge_filtermetadataContains any extra metadata that might be useful for the model or to postprocess outputs, for example.