Skip to content

Commit bd14025

Browse files
committed
tc
1 parent 3cbefde commit bd14025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

advanced_source/python_custom_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
# Example: Wrapping PIL's crop into a custom operator
4646
# ------------------------------------
4747
# Let's say that we are using PIL's ``crop`` operation.
48-
raise RuntimeError("nope")
48+
4949
import torch
5050
from torchvision.transforms.functional import to_pil_image, pil_to_tensor
5151
import PIL

0 commit comments

Comments
 (0)