Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
netket
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vicentini Filippo
netket
Commits
38a0da4d
Commit
38a0da4d
authored
1 year ago
by
Filippo Vicentini
Browse files
Options
Downloads
Patches
Plain Diff
fixes
parent
785c3502
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
netket/optimizer/__init__.py
+2
-1
2 additions, 1 deletion
netket/optimizer/__init__.py
netket/optimizer/qgt/default.py
+10
-2
10 additions, 2 deletions
netket/optimizer/qgt/default.py
with
12 additions
and
3 deletions
netket/optimizer/__init__.py
+
2
−
1
View file @
38a0da4d
...
...
@@ -12,7 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from
.
import
qgt
,
solver
from
.
import
solver
from
.
import
qgt
from
.linear_operator
import
LinearOperator
from
.preconditioner
import
(
...
...
This diff is collapsed.
Click to expand it.
netket/optimizer/qgt/default.py
+
10
−
2
View file @
38a0da4d
...
...
@@ -23,9 +23,17 @@ from .qgt_jacobian_dense import QGTJacobianDense
from
.qgt_jacobian_pytree
import
QGTJacobianPyTree
from
.qgt_onthefly
import
QGTOnTheFly
from
..
solver
import
cholesky
,
svd
,
LU
,
solv
e
from
..
import
solver
as
nk_solver_modul
e
solvers
=
[
cholesky
,
svd
,
LU
,
solve
]
solvers
=
[]
for
solver
in
dir
(
nk_solver_module
):
# only add solvers, not random
# useless things
if
solver
[:
2
]
==
"
__
"
:
continue
else
:
solvers
.
append
(
getattr
(
nk_solver_module
,
solver
))
def
_is_dense_solver
(
solver
:
Any
)
->
bool
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment