Some Keras layers are 1-Lipschitz, e.g. ReLU, MaxPool2D or Flatten. These layers can be safely used in a Lipschitz network. When creating a deel.lip.Sequential model, a warning message is raised for not Lipschitz layers. This warning is not raised anymore for supported 1-Lipschitz Keras layers.
Some Keras layers are 1-Lipschitz, e.g.
ReLU
,MaxPool2D
orFlatten
. These layers can be safely used in a Lipschitz network. When creating adeel.lip.Sequential
model, a warning message is raised for not Lipschitz layers. This warning is not raised anymore for supported 1-Lipschitz Keras layers.