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
FastMoE
Commits
4f7a182b
"git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "49ea781cc33571082975348ef24d58502a3f479d"
Commit
4f7a182b
authored
Nov 23, 2020
by
Jiezhong Qiu
Browse files
fix
parent
103c6395
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pytorch/mem_transformer.py
pytorch/mem_transformer.py
+1
-1
No files found.
pytorch/mem_transformer.py
View file @
4f7a182b
...
@@ -88,7 +88,7 @@ class HierarchicalMoEPositionwiseFF(nn.Module):
...
@@ -88,7 +88,7 @@ class HierarchicalMoEPositionwiseFF(nn.Module):
super
(
HierarchicalMoEPositionwiseFF
,
self
).
__init__
()
super
(
HierarchicalMoEPositionwiseFF
,
self
).
__init__
()
print
(
"HierarchicalMoEPositionwiseFF"
)
print
(
"HierarchicalMoEPositionwiseFF"
)
assert
self
.
d_inner
%
n_block
==
0
assert
d_inner
%
n_block
==
0
self
.
top_block
=
top_block
self
.
top_block
=
top_block
self
.
n_block
=
n_block
self
.
n_block
=
n_block
...
...
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