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
2be773d3
Commit
2be773d3
authored
May 23, 2020
by
Kexin Yu
Browse files
fix function signature
parent
cf918ac1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
csrc/amp_C_frontend.cpp
csrc/amp_C_frontend.cpp
+2
-2
No files found.
csrc/amp_C_frontend.cpp
View file @
2be773d3
...
@@ -42,7 +42,7 @@ void multi_tensor_lamb_stage1_cuda(
...
@@ -42,7 +42,7 @@ void multi_tensor_lamb_stage1_cuda(
const
float
beta1
,
const
float
beta1
,
const
float
beta2
,
const
float
beta2
,
const
float
epsilon
,
const
float
epsilon
,
const
float
global_grad_norm
,
at
::
Tensor
global_grad_norm
,
const
float
max_global_grad_norm
);
const
float
max_global_grad_norm
);
void
multi_tensor_lamb_stage2_cuda
(
void
multi_tensor_lamb_stage2_cuda
(
...
@@ -108,7 +108,7 @@ void multi_tensor_lamb_cuda(
...
@@ -108,7 +108,7 @@ void multi_tensor_lamb_cuda(
const
float
weight_decay
,
const
float
weight_decay
,
const
int
grad_averaging
,
const
int
grad_averaging
,
const
int
mode
,
const
int
mode
,
const
float
global_grad_norm
,
at
::
Tensor
global_grad_norm
,
const
float
max_grad_norm
,
const
float
max_grad_norm
,
at
::
optional
<
bool
>
use_nvlamb_python
);
at
::
optional
<
bool
>
use_nvlamb_python
);
...
...
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