MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / inputs

Function inputs

flow-debugger/debugger-ui/src/parser.js:368–373  ·  view source on GitHub ↗
(pair)

Source from the content-addressed store, hash-verified

366 if (!cfg) return undefined;
367 let ids = [];
368 let inputs = (pair) => cfg.link.inputs[pair[0]].map((id, i)=> {
369 ids.push(id);
370 let node = findNodeById(config, cfg.ty, id);
371 let tag = cfg.link.inputs_tag[pair[0]][i];
372 return { id: `${id}#${tag}`, descp: `${node.name}:${tag}`, data: { size: pair[1][0], qps: pair[1][1] } }
373 });
374 let outputs = (pair) => cfg.link.outputs[pair[0]].map((id, i)=> {
375 let node = findNodeById(config, cfg.ty, id);
376 let tag = cfg.link.outputs_tag[pair[0]][i];

Callers 1

splitGraphFunction · 0.70

Calls 2

findNodeByIdFunction · 0.85
pushMethod · 0.80

Tested by

no test coverage detected