<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/neural-structured-learning/blob/v1.4.0/neural_structured_learning/configs/configs.py#L361-L377) |

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
    )

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `neighbor_config` | A [`nsl.configs.GraphNeighborConfig`](https://www.tensorflow.org/neural_structured_learning/api_docs/python/nsl/configs/GraphNeighborConfig) instance that describes neighbor attributes for graph regularization. Defaults to [`nsl.configs.GraphNeighborConfig()`](https://www.tensorflow.org/neural_structured_learning/api_docs/python/nsl/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 `DistanceConfig` to calculate the graph regularization loss term. Defaults to [`nsl.configs.DistanceConfig()`](https://www.tensorflow.org/neural_structured_learning/api_docs/python/nsl/configs/DistanceConfig). |

<br />

## 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
    )

Check equality and either forward a NotImplemented or return the result negated.