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

Method parseAndPopulate

source/python.js:18937–18943  ·  view source on GitHub ↗
(i, ivalue)

Source from the content-addressed store, hash-verified

18935 return m;
18936 }
18937 parseAndPopulate(i, ivalue) {
18938 if (ivalue.val instanceof torch.mobile.serialization.Function) {
18939 this._all_functions.set(i, this.parseFunction(ivalue.val));
18940 } else {
18941 this._all_ivalues[i] = this.parseIValue(ivalue);
18942 }
18943 }
18944 parseFunction(/* val */) {
18945 return null;
18946 }

Callers 1

parseModuleMethod · 0.80

Calls 3

parseFunctionMethod · 0.80
parseIValueMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected