<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/lib/abstract_gen_neighbor.py#L26-L37) |

Abstract class for generating neighbors.

    nsl.lib.GenNeighbor()

This class is to be inherited by the class that actually implements the method
to generate neighbors.

## Methods

### `gen_neighbor`

[View source](https://github.com/tensorflow/neural-structured-learning/blob/v1.4.0/neural_structured_learning/lib/abstract_gen_neighbor.py#L36-L37)

    gen_neighbor()