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

Function checkDataFormat

tfjs-layers/src/common.ts:22–24  ·  view source on GitHub ↗
(value?: string)

Source from the content-addressed store, hash-verified

20const nameMap: Map<string, number> = new Map<string, number>();
21
22export function checkDataFormat(value?: string): void {
23 checkStringTypeUnionValue(VALID_DATA_FORMAT_VALUES, 'DataFormat', value);
24}
25
26export function checkInterpolationFormat(value?: string): void {
27 checkStringTypeUnionValue(

Callers 15

common_test.tsFile · 0.90
computeFansFunction · 0.90
biasAddFunction · 0.90
preprocessConv2DInputFunction · 0.90
preprocessConv3DInputFunction · 0.90
conv1dWithBiasFunction · 0.90
conv1dFunction · 0.90
conv2dFunction · 0.90
conv2dWithBiasActivationFunction · 0.90
conv3dFunction · 0.90
conv3dWithBiasFunction · 0.90
constructorFunction · 0.90

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…