gigl.src.common.types.GnnModel#
- class gigl.src.common.types.model.GnnModel(*args, **kwargs)#
Bases:
Protocol
read-only property to infer graph-backend from a GNN model
Methods
- __init__(*args, **kwargs)#
- classmethod __init_subclass__(*args, **kwargs)#
This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
- __subclasshook__()#
Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
- __weakref__#
list of weak references to the object (if defined)