[BE][9/16] fix typos in torch/ (torch/csrc/) (#156319)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/156319
Approved by: https://github.com/albanD
ghstack dependencies: #156313, #156314, #156315, #156316, #156317
This commit is contained in:
Xuehai Pan
2025-06-22 13:21:06 +08:00
committed by PyTorch MergeBot
parent ee72815f11
commit a23ccaa847
32 changed files with 75 additions and 75 deletions

View File

@ -67,7 +67,7 @@ TORCH_API std::shared_ptr<Node> get_current_node();
// or more input `Variable`s and producing zero or more output `Variable`s. All
// functions in PyTorch's autograd machinery derive from this class and
// override its `apply` method. Instances of such subclasses will then be
// invokable via the call operator.
// invocable via the call operator.
//
// Nodes in the Autograd Graph
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -592,7 +592,7 @@ struct TORCH_API Node : std::enable_shared_from_this<Node> {
// 1) Extract tensors/symint args
// 2) Collect node information for specialization and caching
// Implementations in subclasses should call args.collect() with all node
// attrs. These functions are only called durring backward.
// attrs. These functions are only called during backward.
virtual void compiled_args(CompiledNodeArgs& args) const {
TORCH_CHECK_NOT_IMPLEMENTED(
false, std::string("compiled_args not implemented: ") + name());