MCPcopy Index your code
hub / github.com/lutzroeder/netron / deserialize

Method deserialize

source/python.js:14020–14025  ·  view source on GitHub ↗
(iv)

Source from the content-addressed store, hash-verified

14018 this._text_table = text_table || [];
14019 }
14020 deserialize(iv) {
14021 torch._C.TORCH_INTERNAL_ASSERT(iv.length === 3);
14022 const [file, start, end] = iv;
14023 const source = this.deserialize_source(file);
14024 return new torch._C.SourceRange(source, start, end);
14025 }
14026 deserialize_source(iv) {
14027 const tup = iv;
14028 if (this.cached_sources.has(tup)) {

Callers 2

unpickleMethod · 0.45
constructorMethod · 0.45

Calls 15

deserialize_sourceMethod · 0.80
get_all_recordsMethod · 0.80
get_recordMethod · 0.80
has_recordMethod · 0.80
LEGACY_deserializeMethod · 0.80
readArchiveMethod · 0.80
deserialize_signatureMethod · 0.80
deserialize_graphMethod · 0.80
peekMethod · 0.45
addMethod · 0.45
importMethod · 0.45

Tested by

no test coverage detected