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

Function isDataArray

tfjs-layers/src/engine/training.ts:57–60  ·  view source on GitHub ↗
(x: Tensor|Tensor[]|
                            {[inputName: string]: Tensor})

Source from the content-addressed store, hash-verified

55 * Helper function for polymorphic input data: 2. Array of Tensor.
56 */
57export function isDataArray(x: Tensor|Tensor[]|
58 {[inputName: string]: Tensor}): boolean {
59 return Array.isArray(x);
60}
61
62/**
63 * Helper function for polymorphic input data: 3. "dict" of Tensor.

Callers 3

training_test.tsFile · 0.90
isDataDictFunction · 0.85
standardizeInputDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…