MCPcopy
hub / github.com/tensorflow/tfjs / add

Function add

tfjs-core/src/engine.ts:1311–1315  ·  view source on GitHub ↗
(a: Tensor, b: Tensor)

Source from the content-addressed store, hash-verified

1309 * It is exported to be available in tape tests.
1310 */
1311export function add(a: Tensor, b: Tensor): Tensor {
1312 // We duplicate Add here to avoid a circular dependency with add.ts.
1313 const inputs = {a, b};
1314 return ENGINE.runKernel(Add, inputs as unknown as NamedTensorMap);
1315}

Callers 15

onBatchEndMethod · 0.90
applyMethod · 0.90
callMethod · 0.90
noisedMethod · 0.90
droppedInputsMethod · 0.90
callMethod · 0.90
callAndReturnCachesMethod · 0.90
computeCausalMaskFunction · 0.90
FusedConv2D.tsFile · 0.90
_FusedMatMul.tsFile · 0.90
FusedBatchNorm.tsFile · 0.90

Calls 1

runKernelMethod · 0.80

Tested by

no test coverage detected