Skip to content

Commit 0b37e55

Browse files
authored
fix typo admm -> addmm
1 parent 3cbb17f commit 0b37e55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

advanced_source/cpp_frontend.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ In C++, it would look like this:
284284
b = register_parameter("b", torch::randn(M));
285285
}
286286
torch::Tensor forward(torch::Tensor input) {
287-
return torch::admm(b, input, W);
287+
return torch::addmm(b, input, W);
288288
}
289289
torch::Tensor W, b;
290290
};

0 commit comments

Comments
 (0)