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

Method getNumber

tfjs-core/src/environment.ts:112–114  ·  view source on GitHub ↗
(flagName: string)

Source from the content-addressed store, hash-verified

110 }
111
112 getNumber(flagName: string): number {
113 return this.get(flagName) as number;
114 }
115
116 getBool(flagName: string): boolean {
117 return this.get(flagName) as boolean;

Callers 15

renderMethod · 0.80
backend_webgpu.tsFile · 0.80
batchMatMulImplFunction · 0.80
conv2DImplFunction · 0.80
releaseTextureMethod · 0.80
constructorMethod · 0.80
uploadPixelDataToTextureFunction · 0.80

Calls 1

getMethod · 0.95

Tested by

no test coverage detected