MCPcopy
hub / github.com/lutzroeder/netron / type_resolver

Method type_resolver

source/python.js:14331–14334  ·  view source on GitHub ↗
(qn)

Source from the content-addressed store, hash-verified

14329 }
14330 readArchive(archive_name) {
14331 const type_resolver = (qn) => {
14332 const cls = this._source_importer.loadType(qn);
14333 return cls;
14334 };
14335 const ObjLoaderFunc = (/* type, ivalue */) => {
14336 };
14337 return this.readArchiveAndTensors(archive_name, this._pickle_dir_prefix, this._tensor_dir_prefix, type_resolver, ObjLoaderFunc, this._device, this._reader, null, this._storage_context);

Callers

nothing calls this directly

Calls 1

loadTypeMethod · 0.80

Tested by

no test coverage detected