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

Method sync_fx_node

source/python.js:20208–20214  ·  view source on GitHub ↗
(name, fx_node)

Source from the content-addressed store, hash-verified

20206 }
20207 }
20208 sync_fx_node(name, fx_node) {
20209 if (this.serialized_name_to_node.has(name)) {
20210 throw new python.Error(`Node ${name} has already been deserialized before.`);
20211 }
20212 this.serialized_name_to_node.set(name, fx_node);
20213 fx_node.meta.set('val', this.serialized_name_to_meta.get(name));
20214 }
20215 deserialize_sym_op_inputs(inputs) {
20216 return inputs.map((input) => this.deserialize_input(input.arg));
20217 }

Callers 4

deserialize_graphMethod · 0.80
deserialize_outputsMethod · 0.80
generate_getitemMethod · 0.80

Calls 3

hasMethod · 0.45
setMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected