Skip to content

Commit

Permalink
[torchcodec] cleanup unused code (#50)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #50

Removing a remnant from when we were creating the GitHub repo.

Reviewed By: ahmadsharif1

Differential Revision: D58952853
  • Loading branch information
scotts authored and facebook-github-bot committed Jun 24, 2024
1 parent 1caa964 commit b87b349
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/torchcodec/decoders/_core/VideoDecoderOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@ namespace facebook::torchcodec {
// Define the operators
// ==============================

torch::Tensor plus_one(torch::Tensor t) {
return t + 1;
}

TORCH_LIBRARY(plusoneops, m) {
m.def("plus_one", plus_one);
}

// All instances of accepting the decoder as a tensor must be annotated with
// `Tensor(a!)`. The `(a!)` part normally indicates that the tensor is being
// mutated in place. We need it to make sure that torch.compile does not reorder
Expand Down

0 comments on commit b87b349

Please sign in to comment.