Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
OpenFold
Commits
5ada323e
"lib/bindings/python/pyproject.toml" did not exist on "e6c12674b23265bc2214250b0569930cc2cda841"
Commit
5ada323e
authored
Jun 11, 2022
by
Gustaf Ahdritz
Browse files
Fix bug in template code
parent
bebbe782
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openfold/model/template.py
openfold/model/template.py
+1
-1
No files found.
openfold/model/template.py
View file @
5ada323e
...
...
@@ -130,7 +130,7 @@ class TemplatePointwiseAttention(nn.Module):
# [*, N_res, N_res, 1, C_z]
biases
=
[
bias
]
if
chunk_size
is
not
None
:
if
chunk_size
is
not
None
and
not
self
.
training
:
z
=
self
.
_chunk
(
z
,
t
,
biases
,
chunk_size
,
use_lma
=
use_lma
)
else
:
z
=
self
.
mha
(
q_x
=
z
,
kv_x
=
t
,
biases
=
biases
,
use_lma
=
use_lma
)
...
...
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