invrs-opt 0.5.0__py3-none-any.whl → 0.5.1__py3-none-any.whl
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.
- invrs_opt/__init__.py +1 -1
- invrs_opt/lbfgsb/lbfgsb.py +2 -2
- {invrs_opt-0.5.0.dist-info → invrs_opt-0.5.1.dist-info}/METADATA +2 -2
- {invrs_opt-0.5.0.dist-info → invrs_opt-0.5.1.dist-info}/RECORD +7 -7
- {invrs_opt-0.5.0.dist-info → invrs_opt-0.5.1.dist-info}/LICENSE +0 -0
- {invrs_opt-0.5.0.dist-info → invrs_opt-0.5.1.dist-info}/WHEEL +0 -0
- {invrs_opt-0.5.0.dist-info → invrs_opt-0.5.1.dist-info}/top_level.txt +0 -0
invrs_opt/__init__.py
CHANGED
invrs_opt/lbfgsb/lbfgsb.py
CHANGED
@@ -288,8 +288,8 @@ def transformed_lbfgsb(
|
|
288
288
|
assert onp.size(value) == 1
|
289
289
|
scipy_lbfgsb_state = ScipyLbfgsbState.from_jax(jax_lbfgsb_state)
|
290
290
|
scipy_lbfgsb_state.update(
|
291
|
-
grad=onp.
|
292
|
-
value=onp.
|
291
|
+
grad=onp.array(flat_latent_grad, dtype=onp.float64),
|
292
|
+
value=onp.array(value, dtype=onp.float64),
|
293
293
|
)
|
294
294
|
flat_latent_params = jnp.asarray(scipy_lbfgsb_state.x)
|
295
295
|
return flat_latent_params, scipy_lbfgsb_state.to_jax()
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: invrs_opt
|
3
|
-
Version: 0.5.
|
3
|
+
Version: 0.5.1
|
4
4
|
Summary: Algorithms for inverse design
|
5
5
|
Author-email: "Martin F. Schubert" <mfschubert@gmail.com>
|
6
6
|
Maintainer-email: "Martin F. Schubert" <mfschubert@gmail.com>
|
@@ -49,7 +49,7 @@ Requires-Dist: pytest-cov ; extra == 'tests'
|
|
49
49
|
Requires-Dist: pytest-subtests ; extra == 'tests'
|
50
50
|
|
51
51
|
# invrs-opt - Optimization algorithms for inverse design
|
52
|
-
`v0.5.
|
52
|
+
`v0.5.1`
|
53
53
|
|
54
54
|
## Overview
|
55
55
|
|
@@ -1,14 +1,14 @@
|
|
1
|
-
invrs_opt/__init__.py,sha256=
|
1
|
+
invrs_opt/__init__.py,sha256=rrTPxvCPLpsNopphWwz4MNzs0309YJ2FqnoSoym8MjM,309
|
2
2
|
invrs_opt/base.py,sha256=dSX9QkMPzI8ROxy2cFNmMwk_89eQbk0rw94CzvLPQoY,907
|
3
3
|
invrs_opt/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
invrs_opt/experimental/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
invrs_opt/experimental/client.py,sha256=td5o_YqqbcSypDrWCVrHGSoF8UxEdOLtKU0z9Dth9lA,4842
|
6
6
|
invrs_opt/experimental/labels.py,sha256=dQDAMPyFMV6mXnMy295z8Ap205DRdVzysXny_Be8FmY,562
|
7
7
|
invrs_opt/lbfgsb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
|
-
invrs_opt/lbfgsb/lbfgsb.py,sha256=
|
8
|
+
invrs_opt/lbfgsb/lbfgsb.py,sha256=DOfPVrvHYq7KBrHx3ibRO_ik4PO2D0QQtCwoubVJfVU,27892
|
9
9
|
invrs_opt/lbfgsb/transform.py,sha256=a_Saj9Wq4lvqCJBrg5L2Z9DZ2NVs1xqrHLqha90a9Ws,5971
|
10
|
-
invrs_opt-0.5.
|
11
|
-
invrs_opt-0.5.
|
12
|
-
invrs_opt-0.5.
|
13
|
-
invrs_opt-0.5.
|
14
|
-
invrs_opt-0.5.
|
10
|
+
invrs_opt-0.5.1.dist-info/LICENSE,sha256=ty6jHPvpyjHy6dbhnu6aDSY05bbl2jQTjnq9u1sBCfM,1078
|
11
|
+
invrs_opt-0.5.1.dist-info/METADATA,sha256=xBu95bCkaOqZzteNeNHUta09LrlQ3oHZcTBVSd6j9Zk,3326
|
12
|
+
invrs_opt-0.5.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
13
|
+
invrs_opt-0.5.1.dist-info/top_level.txt,sha256=hOziS2uJ_NgwaW9yhtOfeuYnm1X7vobPBcp_6eVWKfM,10
|
14
|
+
invrs_opt-0.5.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|