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
b3f8a5db
Commit
b3f8a5db
authored
Jun 22, 2022
by
Gustaf Ahdritz
Browse files
Fix undefined reference
parent
d59b06b4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openfold/model/structure_module.py
openfold/model/structure_module.py
+2
-2
No files found.
openfold/model/structure_module.py
View file @
b3f8a5db
...
@@ -637,12 +637,12 @@ class StructureModule(nn.Module):
...
@@ -637,12 +637,12 @@ class StructureModule(nn.Module):
Returns:
Returns:
A dictionary of outputs
A dictionary of outputs
"""
"""
s
=
evoformer_output_dict
[
"single"
]
if
mask
is
None
:
if
mask
is
None
:
# [*, N]
# [*, N]
mask
=
s
.
new_ones
(
s
.
shape
[:
-
1
])
mask
=
s
.
new_ones
(
s
.
shape
[:
-
1
])
s
=
evoformer_output_dict
[
"single"
]
# [*, N, C_s]
# [*, N, C_s]
s
=
self
.
layer_norm_s
(
s
)
s
=
self
.
layer_norm_s
(
s
)
...
...
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