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

Method _deserialize_model

source/python.js:2498–2503  ·  view source on GitHub ↗
(serialized_model_str)

Source from the content-addressed store, hash-verified

2496 });
2497 this.registerType('catboost._catboost._CatBoost', class {
2498 _deserialize_model(serialized_model_str) {
2499 const src = serialized_model_str;
2500 const data = new Uint8Array(src.buffer.slice(src.byteOffset + 8, src.byteOffset + src.byteLength));
2501 const reader = this.flatbuffers.BinaryReader.open(data);
2502 this._core = this.schema.NCatBoostFbs.TModelCore.create(reader);
2503 }
2504 _get_format_version() {
2505 return this._core.FormatVersion;
2506 }

Callers 1

_load_from_stringMethod · 0.80

Calls 2

openMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected