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

Method __setstate__

source/python.js:2590–2594  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

2588 this._object = new catboost._catboost._CatBoost();
2589 }
2590 __setstate__(state) {
2591 for (const [key, value] of state) {
2592 this[key] = value;
2593 }
2594 }
2595 _load_from_string(dump_model_str) {
2596 this._deserialize_model(dump_model_str);
2597 }

Callers 4

constructorMethod · 0.45
loadMethod · 0.45

Calls 13

LoadModelFromStringMethod · 0.80
__contains__Method · 0.80
__setitem__Method · 0.80
__setattr__Method · 0.80
__getitem__Method · 0.80
numAttributesMethod · 0.80
getAttributeNameMethod · 0.80
getMethod · 0.45
_readMethod · 0.45
popMethod · 0.45
hasMethod · 0.45

Tested by

no test coverage detected