Fix the tiny doc descriptions (#147319)

As the title stated
Pull Request resolved: https://github.com/pytorch/pytorch/pull/147319
Approved by: https://github.com/zou3519
This commit is contained in:
FFFrog
2025-02-25 18:17:35 +08:00
committed by PyTorch MergeBot
parent 346bbefa63
commit e5a13410cd

View File

@ -40,7 +40,7 @@ def triton_op(
Note that ``fn`` must only consist of calls to PyTorch-understood
operators and triton kernels. Any triton kernels called inside ``fn``
must be wrapped in a call to :func:`torch._library.wrap_triton``.
must be wrapped in a call to :func:`torch.library.wrap_triton`.
Args:
name (str): A name for the custom op that looks like "{namespace}::{name}",