NODE_ATTR_PRIORITY#
- iqm.applications.graph_utils.NODE_ATTR_PRIORITY: tuple[str, ...] = ('bias', 'weight', 'field', 'value', 'h')#
Ordered names of node attributes that may store node weights.
When extracting node weights from a graph, attributes are checked in this order and the first match is used. This allows the library to accept graphs originating from different conventions (e.g. “weight”, “field”, etc.).