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

Function checkFanMode

tfjs-layers/src/initializers.ts:21–23  ·  view source on GitHub ↗
(value?: string)

Source from the content-addressed store, hash-verified

19import {arrayProd} from './utils/math_utils';
20
21export function checkFanMode(value?: string): void {
22 checkStringTypeUnionValue(VALID_FAN_MODE_VALUES, 'FanMode', value);
23}
24
25export function checkDistribution(value?: string): void {
26 checkStringTypeUnionValue(VALID_DISTRIBUTION_VALUES, 'Distribution', value);

Callers 2

constructorMethod · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…