|  View source on GitHub | 
Contains the configuration for graph regularization.
nsl.configs.GraphRegConfig(
    neighbor_config=attr_dict['neighbor_config'].default,
    multiplier=attr_dict['multiplier'].default,
    distance_config=attr_dict['distance_config'].default
)
| Attributes | |
|---|---|
| neighbor_config | A nsl.configs.GraphNeighborConfiginstance that describes
neighbor attributes for graph regularization. Defaults tonsl.configs.GraphNeighborConfig(). | 
| multiplier | The multiplier or weight factor applied on the graph regularization loss term. This value has to be non-negative. Defaults to 0.01. | 
| distance_config | An instance of DistanceConfigto calculate the graph
regularization loss term. Defaults tonsl.configs.DistanceConfig(). | 
Methods
__eq__
__eq__(
    other
)
Method generated by attrs for class GraphRegConfig.
__ge__
__ge__(
    other
)
Method generated by attrs for class GraphRegConfig.
__gt__
__gt__(
    other
)
Method generated by attrs for class GraphRegConfig.
__le__
__le__(
    other
)
Method generated by attrs for class GraphRegConfig.
__lt__
__lt__(
    other
)
Method generated by attrs for class GraphRegConfig.
__ne__
__ne__(
    other
)
Method generated by attrs for class GraphRegConfig.