Module: nsl.keras.layers

Keras layers for Neural Structured Learning.

Classes

class NeighborFeatures: A layer to unpack a dictionary of sample features and neighbor features.

class PairwiseDistance: A layer for computing a pairwise distance in Keras models.

Functions

make_missing_neighbor_inputs(...): Makes additional inputs for neighbor features if necessary.