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

Class _open_buffer_writer

torch/serialization.py:438–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436
437
438class _open_buffer_writer(_opener):
439 def __exit__(self, *args):
440 self.file_like.flush()
441
442
443def _open_file_like(name_or_buffer, mode):

Callers 1

_open_file_likeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…