Skip to content
GitLab
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
7baf3e1d
Commit
7baf3e1d
authored
Aug 09, 2021
by
Philipp Arras
Browse files
fixup! Use linear_transpose for adjoint of JaxLinearOperator
parent
aea0988c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/operators/jax_operator.py
View file @
7baf3e1d
...
...
@@ -158,9 +158,9 @@ class JaxLinearOperator(LinearOperator):
self
.
_check_input
(
x
,
mode
)
if
mode
==
self
.
TIMES
:
fx
=
self
.
_func
(
x
.
val
)
return
makeField
(
self
.
_
domain
,
_jax2np
(
fx
))
return
makeField
(
self
.
_
target
,
_jax2np
(
fx
))
fx
=
self
.
_func_T
(
x
.
conjugate
().
val
)[
0
]
return
makeField
(
self
.
_
target
,
_jax2np
(
fx
)).
conjugate
()
return
makeField
(
self
.
_
domain
,
_jax2np
(
fx
)).
conjugate
()
class
JaxLikelihoodEnergyOperator
(
LikelihoodEnergyOperator
):
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment