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
2e307738
Commit
2e307738
authored
Nov 10, 2021
by
Gustaf Ahdritz
Browse files
Fix inconsistent formatting
parent
ef82ecdd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
openfold/model/primitives.py
openfold/model/primitives.py
+2
-8
No files found.
openfold/model/primitives.py
View file @
2e307738
...
...
@@ -312,16 +312,10 @@ class GlobalAttention(nn.Module):
)
self
.
linear_k
=
Linear
(
c_in
,
c_hidden
,
bias
=
False
,
init
=
"glorot"
,
c_in
,
c_hidden
,
bias
=
False
,
init
=
"glorot"
,
)
self
.
linear_v
=
Linear
(
c_in
,
c_hidden
,
bias
=
False
,
init
=
"glorot"
,
c_in
,
c_hidden
,
bias
=
False
,
init
=
"glorot"
,
)
self
.
linear_g
=
Linear
(
c_in
,
c_hidden
*
no_heads
,
init
=
"gating"
)
self
.
linear_o
=
Linear
(
c_hidden
*
no_heads
,
c_in
,
init
=
"final"
)
...
...
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