MCPcopy Create free account
hub / github.com/pytorch/executorch / get

Method get

exir/_serialize/_flatbuffer.py:141–143  ·  view source on GitHub ↗

Returns the current contents of the named file.

(self, name: str)

Source from the content-addressed store, hash-verified

139 self._files[name] = patch_fn(self._files[name])
140
141 def get(self, name: str) -> bytes:
142 """Returns the current contents of the named file."""
143 return self._files[name]
144
145 def write_to(self, out_dir: str) -> None:
146 """Writes the files to the specified directory. File names are based on

Callers 10

_get_buffer_sha256Method · 0.45
_json_to_dataclassFunction · 0.45
_flatbuffer_t_classFunction · 0.45
_dataclass_field_mapFunction · 0.45
_pack_bufferFunction · 0.45
_prepare_schemaFunction · 0.45
_extract_named_dataFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected