relucent 0.2.2__tar.gz → 0.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {relucent-0.2.2 → relucent-0.2.3}/PKG-INFO +2 -9
- {relucent-0.2.2 → relucent-0.2.3}/README.md +1 -8
- {relucent-0.2.2 → relucent-0.2.3}/pyproject.toml +1 -1
- relucent-0.2.3/src/relucent/README.md +6 -0
- {relucent-0.2.2 → relucent-0.2.3}/src/relucent/__init__.py +0 -0
- {relucent-0.2.2 → relucent-0.2.3}/src/relucent/bvs.py +0 -0
- {relucent-0.2.2 → relucent-0.2.3}/src/relucent/complex.py +0 -0
- {relucent-0.2.2 → relucent-0.2.3}/src/relucent/convert_model.py +0 -0
- {relucent-0.2.2 → relucent-0.2.3}/src/relucent/model.py +0 -0
- {relucent-0.2.2 → relucent-0.2.3}/src/relucent/poly.py +0 -0
- {relucent-0.2.2 → relucent-0.2.3}/src/relucent/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: relucent
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: Explore the polyhedral complexes of ReLU neural networks.
|
|
5
5
|
Author: Blake B. Gaines
|
|
6
6
|
License-Expression: AGPL-3.0-or-later
|
|
@@ -32,7 +32,7 @@ Explore the polyhedral complexes of ReLU neural networks
|
|
|
32
32
|
|
|
33
33
|
## Environment Setup
|
|
34
34
|
1. Install Python 3.13
|
|
35
|
-
2. Install [PyTorch
|
|
35
|
+
2. Install [PyTorch](https://pytorch.org/get-started/locally/)
|
|
36
36
|
3. Run `pip install relucent`
|
|
37
37
|
|
|
38
38
|
## Getting Started
|
|
@@ -69,13 +69,6 @@ print(cplx.get_dual_graph())
|
|
|
69
69
|
|
|
70
70
|
View the documentation for this library at https://bl-ake.github.io/relucent/
|
|
71
71
|
|
|
72
|
-
## Source Code Structure
|
|
73
|
-
* [model.py](src/relucent/model.py): PyTorch Module that acts as an interface between the model and the rest of the code
|
|
74
|
-
* [poly.py](src/relucent/poly.py): Class for calculations involving individual polyhedrons (e.g. computing boundaries, neighbors, volume)
|
|
75
|
-
* [complex.py](src/relucent/complex.py): Class for calculations involving the polyhedral cplx (e.g. polyhedron search, connectivity graph calculation)
|
|
76
|
-
* [convert_model.py](src/relucent/convert_model.py): Utilities for converting various PyTorch.nn layers to Linear layers
|
|
77
|
-
* [bvs.py](src/relucent/bvs.py): Data structures for storing large numbers of sign vectors
|
|
78
|
-
|
|
79
72
|
## Obtaining a Gurobi License
|
|
80
73
|
Without a [license](https://support.gurobi.com/hc/en-us/articles/12872879801105-How-do-I-retrieve-and-set-up-a-Gurobi-license), Gurobi will only work with a limited feature set. This includes a limit on the number of decision variables in the models it can solve, which limits the size of the networks this code is able to analyze. There are multiple ways to install the software, but we recommend the following steps to those eligible for an academic license:
|
|
81
74
|
1. Install the [Gurobi Python library](https://pypi.org/project/gurobipy/), for example using `pip install gurobipy`
|
|
@@ -6,7 +6,7 @@ Explore the polyhedral complexes of ReLU neural networks
|
|
|
6
6
|
|
|
7
7
|
## Environment Setup
|
|
8
8
|
1. Install Python 3.13
|
|
9
|
-
2. Install [PyTorch
|
|
9
|
+
2. Install [PyTorch](https://pytorch.org/get-started/locally/)
|
|
10
10
|
3. Run `pip install relucent`
|
|
11
11
|
|
|
12
12
|
## Getting Started
|
|
@@ -43,13 +43,6 @@ print(cplx.get_dual_graph())
|
|
|
43
43
|
|
|
44
44
|
View the documentation for this library at https://bl-ake.github.io/relucent/
|
|
45
45
|
|
|
46
|
-
## Source Code Structure
|
|
47
|
-
* [model.py](src/relucent/model.py): PyTorch Module that acts as an interface between the model and the rest of the code
|
|
48
|
-
* [poly.py](src/relucent/poly.py): Class for calculations involving individual polyhedrons (e.g. computing boundaries, neighbors, volume)
|
|
49
|
-
* [complex.py](src/relucent/complex.py): Class for calculations involving the polyhedral cplx (e.g. polyhedron search, connectivity graph calculation)
|
|
50
|
-
* [convert_model.py](src/relucent/convert_model.py): Utilities for converting various PyTorch.nn layers to Linear layers
|
|
51
|
-
* [bvs.py](src/relucent/bvs.py): Data structures for storing large numbers of sign vectors
|
|
52
|
-
|
|
53
46
|
## Obtaining a Gurobi License
|
|
54
47
|
Without a [license](https://support.gurobi.com/hc/en-us/articles/12872879801105-How-do-I-retrieve-and-set-up-a-Gurobi-license), Gurobi will only work with a limited feature set. This includes a limit on the number of decision variables in the models it can solve, which limits the size of the networks this code is able to analyze. There are multiple ways to install the software, but we recommend the following steps to those eligible for an academic license:
|
|
55
48
|
1. Install the [Gurobi Python library](https://pypi.org/project/gurobipy/), for example using `pip install gurobipy`
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
## Source Code Structure
|
|
2
|
+
* [model.py](src/relucent/model.py): PyTorch Module that acts as an interface between the model and the rest of the code
|
|
3
|
+
* [poly.py](src/relucent/poly.py): Class for calculations involving individual polyhedrons (e.g. computing boundaries, neighbors, volume)
|
|
4
|
+
* [complex.py](src/relucent/complex.py): Class for calculations involving the polyhedral cplx (e.g. polyhedron search, connectivity graph calculation)
|
|
5
|
+
* [convert_model.py](src/relucent/convert_model.py): Utilities for converting various PyTorch.nn layers to Linear layers
|
|
6
|
+
* [bvs.py](src/relucent/bvs.py): Data structures for storing large numbers of sign vectors
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|