Skip to content

Commit cea931e

Browse files
 Fix: Align forward and backward arguments in cpp_extension tutorial
1 parent 3b23c0e commit cea931e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

advanced_source/cpp_extension.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ on it:
11471147
auto d_old_h = d_X.slice(/*dim=*/1, 0, state_size);
11481148
auto d_input = d_X.slice(/*dim=*/1, state_size);
11491149
1150-
return {d_old_h, d_input, d_weights, d_bias, d_old_cell, d_gates};
1150+
return {d_old_h, d_input, d_weights, d_bias, d_old_cell};
11511151
}
11521152
11531153

0 commit comments

Comments
 (0)