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

Function c

tfjs-core/src/debug_mode_test.ts:60–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58 const b = tf.tensor1d([2, -1, 0, 3]);
59
60 const c = async () => {
61 const result = a.div(b);
62 // Must await result so we know exception would have happened by the
63 // time we call `expect`.
64 await result.data();
65 };
66
67 await c();
68

Callers 1

debug_mode_test.tsFile · 0.85

Calls 3

divMethod · 0.80
powMethod · 0.80
dataMethod · 0.65

Tested by

no test coverage detected