Skip to content

Commit c4f8d78

Browse files
committed
Drop outdated fixme
1 parent 8aee9e7 commit c4f8d78

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/ctorch.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,6 @@ void torch_tensor_backward(const torch_tensor_t tensor,
403403
const torch_tensor_t external_gradient) {
404404
auto t = reinterpret_cast<torch::Tensor *>(tensor);
405405
auto g = reinterpret_cast<torch::Tensor *const>(external_gradient);
406-
// FIXME: tensor needs to not be const but this crashes
407406
t->backward(*g);
408407
}
409408

0 commit comments

Comments
 (0)