MCPcopy Create free account
hub / github.com/tensorflow/tfjs / addUnprocessedNode

Function addUnprocessedNode

tfjs-layers/src/engine/container.ts:1212–1219  ·  view source on GitHub ↗
(
        layer: Layer, nodeData: TensorKeyWithArgsArray[])

Source from the content-addressed store, hash-verified

1210 // (i.e. until the input tensors to the call all exist).
1211 const unprocessedNodes: {[layer: string]: TensorKeyWithArgsArray[][]} = {};
1212 function addUnprocessedNode(
1213 layer: Layer, nodeData: TensorKeyWithArgsArray[]) {
1214 if (!(layer.name in unprocessedNodes)) {
1215 unprocessedNodes[layer.name] = [nodeData];
1216 } else {
1217 unprocessedNodes[layer.name].push(nodeData);
1218 }
1219 }
1220
1221 function processNode(layer: Layer, nodeData: TensorKeyWithArgsArray[]) {
1222 const inputTensors: SymbolicTensor[] = [];

Callers 2

processNodeFunction · 0.85
processLayerFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…