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

Method _get_info_map

source/python.js:2507–2517  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2505 return this._core.FormatVersion;
2506 }
2507 _get_info_map() {
2508 const map = new Map();
2509 if (this._core.InfoMap) {
2510 for (const entry of this._core.InfoMap) {
2511 if (entry.Key && entry.Value) {
2512 map.set(entry.Key, entry.Value);
2513 }
2514 }
2515 }
2516 return map;
2517 }
2518 _get_tree_count() {
2519 const trees = this._core.ModelTrees;
2520 return trees && trees.TreeSizes ? trees.TreeSizes.length : 0;

Callers 1

constructorMethod · 0.80

Calls 1

setMethod · 0.45

Tested by

no test coverage detected