Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 400e21b

Browse files
authored
Merge pull request #358 from tczhangzhi/patch-1
Fix wrong parameter.
2 parents 31d9132 + 44d0315 commit 400e21b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

advanced_source/cpp_extension.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ on it:
954954
const int threads = 1024;
955955
const dim3 blocks((state_size + threads - 1) / threads, batch_size);
956956
957-
AT_DISPATCH_FLOATING_TYPES(X.type(), "lltm_forward_cuda", ([&] {
957+
AT_DISPATCH_FLOATING_TYPES(X.type(), "lltm_backward_cuda", ([&] {
958958
lltm_cuda_backward_kernel<scalar_t><<<blocks, threads>>>(
959959
d_old_cell.data<scalar_t>(),
960960
d_gates.data<scalar_t>(),

0 commit comments

Comments
 (0)