Skip to content

Commit

Permalink
update documentations
Browse files Browse the repository at this point in the history
  • Loading branch information
zshiqiang committed Dec 6, 2023
1 parent f832f27 commit 72b9f65
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
12 changes: 0 additions & 12 deletions src/omlt/neuralnet/activations/__init__.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,10 @@
<<<<<<< HEAD
from omlt.neuralnet.activations.linear import (
linear_activation_constraint,
linear_activation_function,
)
from omlt.neuralnet.activations.relu import (
ComplementarityReLUActivation,
bigm_relu_activation_constraint,
)
from omlt.neuralnet.activations.smooth import (
=======
r"""
Since all activation functions are element-wised, we only consider how to formulate activation functions for a single neuron, where :math:`x` denotes pre-activation variable, and :math:`y` denotes post-activation variable.
"""
from .linear import linear_activation_constraint, linear_activation_function
from .relu import ComplementarityReLUActivation, bigm_relu_activation_constraint
from .smooth import (
>>>>>>> a3d128d569b9b7cbf13315ea6be813f076d56b22
sigmoid_activation_constraint,
sigmoid_activation_function,
softplus_activation_constraint,
Expand Down
9 changes: 0 additions & 9 deletions src/omlt/neuralnet/layers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
<<<<<<< HEAD
from omlt.neuralnet.layers.full_space import (
full_space_conv2d_layer,
full_space_dense_layer,
full_space_gnn_layer,
)
from omlt.neuralnet.layers.reduced_space import reduced_space_dense_layer
=======
r"""
Since OMLT builds layer and activation functions in layer level, we ignore the layer index and use the following notations to describe the :math:`l`-th layer:
Expand All @@ -23,4 +15,3 @@
"""
from .full_space import full_space_conv2d_layer, full_space_dense_layer
from .reduced_space import reduced_space_dense_layer
>>>>>>> a3d128d569b9b7cbf13315ea6be813f076d56b22

0 comments on commit 72b9f65

Please sign in to comment.