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

Function createData

tfjs-layers/src/layers/merge_test.ts:426–429  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

424 let x2: Tensor2D;
425
426 function createData() {
427 x1 = tensor2d([1, 2, 3, 4], [2, 2]);
428 x2 = tensor2d([-1, -2, -3, -4], [2, 2]);
429 }
430
431 const axisValues: number[] = [null, undefined, 0, 1, -1];
432 for (const axis of axisValues) {

Callers 1

merge_test.tsFile · 0.85

Calls 1

tensor2dFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…