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

Function testEpsilon

tfjs-core/src/test_util.ts:36–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34}
35
36export function testEpsilon() {
37 return ENGINE.backend.floatPrecision() === 32 ? TEST_EPSILON_FLOAT32 :
38 TEST_EPSILON_FLOAT16;
39}
40
41function expectArraysPredicate(
42 actual: TensorLike, expected: TensorLike,

Callers 3

expectArraysCloseFunction · 0.85
expectNumbersCloseFunction · 0.85

Calls 1

floatPrecisionMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…