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

Method deserialize_hoo_inputs

source/python.js:20242–20253  ·  view source on GitHub ↗
(inputs)

Source from the content-addressed store, hash-verified

20240 return [args, kwargs];
20241 }
20242 deserialize_hoo_inputs(inputs) {
20243 const args = [];
20244 const kwargs = new builtins.dict();
20245 for (const input_ of inputs) {
20246 if (input_.name === '') {
20247 args.push(this.deserialize_input(input_.arg));
20248 } else {
20249 kwargs.set(input_.name, this.deserialize_input(input_.arg));
20250 }
20251 }
20252 return [new builtins.tuple(args), kwargs];
20253 }
20254 deserialize_input(inp) {
20255 const value = inp.value;
20256 const typ_ = inp.type;

Callers 1

deserialize_nodeMethod · 0.80

Calls 3

deserialize_inputMethod · 0.80
pushMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected