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
34e4e6ce
Commit
34e4e6ce
authored
Nov 18, 2021
by
Gustaf Ahdritz
Browse files
Standardize IPA formatting
parent
8d1119df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
openfold/model/structure_module.py
openfold/model/structure_module.py
+0
-2
No files found.
openfold/model/structure_module.py
View file @
34e4e6ce
...
@@ -291,7 +291,6 @@ class InvariantPointAttention(nn.Module):
...
@@ -291,7 +291,6 @@ class InvariantPointAttention(nn.Module):
##########################
##########################
# Compute attention scores
# Compute attention scores
##########################
##########################
# [*, N_res, N_res, H]
# [*, N_res, N_res, H]
b
=
self
.
linear_b
(
z
)
b
=
self
.
linear_b
(
z
)
...
@@ -332,7 +331,6 @@ class InvariantPointAttention(nn.Module):
...
@@ -332,7 +331,6 @@ class InvariantPointAttention(nn.Module):
################
################
# Compute output
# Compute output
################
################
# [*, N_res, H, C_hidden]
# [*, N_res, H, C_hidden]
o
=
torch
.
matmul
(
a
,
v
.
transpose
(
-
2
,
-
3
)).
transpose
(
-
2
,
-
3
)
o
=
torch
.
matmul
(
a
,
v
.
transpose
(
-
2
,
-
3
)).
transpose
(
-
2
,
-
3
)
...
...
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