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

Function outputs

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

Source from the content-addressed store, hash-verified

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];
377 return { id: `${id}#${tag}`, descp: `${node.name}:${tag}`, data: { size: pair[1][0], qps: pair[1][1] } }
378 });
379 let ports = Object.entries(node.qps).map(pair=>{
380 return inputs(pair).concat(outputs(pair))
381 }).flat();

Callers 1

splitGraphFunction · 0.70

Calls 1

findNodeByIdFunction · 0.85

Tested by

no test coverage detected