From 60e04a65bca44f57afb214857e96b811a33b3b4e Mon Sep 17 00:00:00 2001 From: Deepali Chourasia Date: Wed, 25 Mar 2020 11:18:37 +0000 Subject: [PATCH] correct the name of the registered operator --- 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 9127855878d..fc03ad74a3e 100644 --- a/advanced_source/torch_script_custom_ops.rst +++ b/advanced_source/torch_script_custom_ops.rst @@ -1083,5 +1083,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)