From 9d3c8fb263c87ae78e79d0ed1288bb06216aa3fb Mon Sep 17 00:00:00 2001 From: Holly Sweeney <77758406+holly1238@users.noreply.github.com> Date: Tue, 14 Dec 2021 12:08:54 -0800 Subject: [PATCH] Correct name of registered operator duplicate of https://github.com/pytorch/tutorials/pull/906. Fixes https://github.com/pytorch/tutorials/issues/909. --- advanced_source/torch_script_custom_ops.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced_source/torch_script_custom_ops.rst b/advanced_source/torch_script_custom_ops.rst index 4444a18ae08..e2df556884b 100644 --- a/advanced_source/torch_script_custom_ops.rst +++ b/advanced_source/torch_script_custom_ops.rst @@ -1029,5 +1029,5 @@ visible to TorchScript: >>> import torch >>> torch.ops.load_library("warp_perspective.so") - >>> print(torch.ops.custom.warp_perspective) + >>> print(torch.ops.my_ops.warp_perspective)