Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
00000714
Commit
00000714
authored
Aug 06, 2021
by
Philipp Arras
Browse files
Fix docs
parent
559b8416
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/operators/jax_operator.py
View file @
00000714
...
...
@@ -47,7 +47,7 @@ class JaxOperator(Operator):
func : callable
The jax function that is evaluated by the operator. It has to be
implemented in terms of `jax.numpy` calls. If `domain` is a
`Domain
Tuple
`, `func` takes a `dict` as argument and like-wise for the
`
Multi
Domain`, `func` takes a `dict` as argument and like-wise for the
target.
"""
def
__init__
(
self
,
domain
,
target
,
func
):
...
...
@@ -114,7 +114,7 @@ def JaxLinearOperator(domain, target, func, domain_dtype):
func : callable
The jax function that is evaluated by the operator. It has to be
implemented in terms of `jax.numpy` calls. If `domain` is a
`Domain
Tuple
`, `func` takes a `dict` as argument and like-wise for the
`
Multi
Domain`, `func` takes a `dict` as argument and like-wise for the
target.
domain_dtype:
...
...
@@ -148,7 +148,7 @@ class JaxLikelihoodEnergyOperator(LikelihoodEnergyOperator):
func : callable
The jax function that is evaluated by the operator. It has to be
implemented in terms of `jax.numpy` calls. If `domain` is a
`Domain
Tuple
`, `func` takes a `dict` as argument and like-wise for the
`
Multi
Domain`, `func` takes a `dict` as argument and like-wise for the
target. It needs to map to a scalar.
transformation : Operator, optional
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment