MCPcopy Create free account
hub / github.com/pytorch/pytorch / named_buffers

Method named_buffers

torch/distributed/nn/api/remote_module.py:417–423  ·  view source on GitHub ↗
(  # type: ignore[return]
        self,
        prefix: str = "",
        recurse: bool = True,
        remove_duplicate: bool = True
    )

Source from the content-addressed store, hash-verified

415 _raise_not_supported(self.buffers.__name__)
416
417 def named_buffers( # type: ignore[return]
418 self,
419 prefix: str = "",
420 recurse: bool = True,
421 remove_duplicate: bool = True
422 ) -> Iterator[Tuple[str, Tensor]]:
423 _raise_not_supported(self.named_buffers.__name__)
424
425 def children(self) -> Iterator[Module]: # type: ignore[return]
426 _raise_not_supported(self.children.__name__)

Callers 3

_sync_module_statesFunction · 0.45
_compileFunction · 0.45
wrapperFunction · 0.45

Calls 1

_raise_not_supportedFunction · 0.85

Tested by

no test coverage detected