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
apex
Commits
80e0143e
Commit
80e0143e
authored
Jul 12, 2019
by
Edward Z. Yang
Committed by
mcarilli
Jul 12, 2019
Browse files
Add missing semicolon. (#390)
Signed-off-by:
Edward Z. Yang
<
ezyang@fb.com
>
parent
665b2dd7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
csrc/fused_adam_cuda.cpp
csrc/fused_adam_cuda.cpp
+1
-1
No files found.
csrc/fused_adam_cuda.cpp
View file @
80e0143e
...
@@ -9,7 +9,7 @@ void fused_adam_cuda(at::Tensor & p, at::Tensor & p_copy, at::Tensor & m, at::Te
...
@@ -9,7 +9,7 @@ void fused_adam_cuda(at::Tensor & p, at::Tensor & p_copy, at::Tensor & m, at::Te
// C++ interface
// C++ interface
void
adam
(
at
::
Tensor
&
p
,
at
::
Tensor
&
p_copy
,
at
::
Tensor
&
m
,
at
::
Tensor
&
v
,
at
::
Tensor
&
g
,
float
lr
,
float
beta1
,
float
beta2
,
float
eps
,
float
grad_scale
,
int
step
,
int
mode
,
int
bias_correction
,
float
decay
)
{
void
adam
(
at
::
Tensor
&
p
,
at
::
Tensor
&
p_copy
,
at
::
Tensor
&
m
,
at
::
Tensor
&
v
,
at
::
Tensor
&
g
,
float
lr
,
float
beta1
,
float
beta2
,
float
eps
,
float
grad_scale
,
int
step
,
int
mode
,
int
bias_correction
,
float
decay
)
{
CHECK_INPUT
(
p
)
CHECK_INPUT
(
p
)
;
if
(
p_copy
.
numel
()
>
0
)
CHECK_INPUT
(
p_copy
);
if
(
p_copy
.
numel
()
>
0
)
CHECK_INPUT
(
p_copy
);
CHECK_INPUT
(
m
);
CHECK_INPUT
(
m
);
CHECK_INPUT
(
v
);
CHECK_INPUT
(
v
);
...
...
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