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

Method floatPrecision

tfjs-core/src/backends/backend.ts:146–148  ·  view source on GitHub ↗

Returns the highest precision for floats in bits (e.g. 16 or 32)

()

Source from the content-addressed store, hash-verified

144 }
145 /** Returns the highest precision for floats in bits (e.g. 16 or 32) */
146 floatPrecision(): 16|32 {
147 return notYetImplemented('floatPrecision');
148 }
149 /** Returns the smallest representable number. */
150 epsilon(): number {
151 return this.floatPrecision() === 32 ? EPSILON_FLOAT32 : EPSILON_FLOAT16;

Callers 14

epsilonMethod · 0.95
testEpsilonFunction · 0.45
reverse_test.tsFile · 0.45
round_test.tsFile · 0.45
abs_test.tsFile · 0.45
square_test.tsFile · 0.45
exp_test.tsFile · 0.45
leaky_relu_test.tsFile · 0.45
where_test.tsFile · 0.45
relu_test.tsFile · 0.45
neg_test.tsFile · 0.45

Calls 1

notYetImplementedFunction · 0.85

Tested by

no test coverage detected