mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Fix some typos.
Fixes #ISSUE_NUMBER Pull Request resolved: https://github.com/pytorch/pytorch/pull/75561 Approved by: https://github.com/albanD
This commit is contained in:
committed by
PyTorch MergeBot
parent
8e365fabc9
commit
ac2d2e3a3d
@ -314,7 +314,7 @@ class class_ : public ::torch::detail::class_base {
|
||||
def("__getstate__", std::forward<GetStateFn>(get_state));
|
||||
|
||||
// __setstate__ needs to be registered with some custom handling:
|
||||
// We need to wrap the invocation of of the user-provided function
|
||||
// We need to wrap the invocation of the user-provided function
|
||||
// such that we take the return value (i.e. c10::intrusive_ptr<CurrClass>)
|
||||
// and assign it to the `capsule` attribute.
|
||||
using SetStateTraits =
|
||||
|
Reference in New Issue
Block a user