Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tensorflow/tfjs
/ a
Function
a
tfjs-core/src/debug_mode_test.ts:37–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
35
36
it(
'debug mode errors when nans in tensor construction, float32'
, () => {
37
const
a = () => tf.tensor1d([2, NaN],
'float32'
);
38
expect(a).toThrowError();
39
});
40
Callers
nothing calls this directly
Calls
1
convertToTensor
Function · 0.90
Tested by
no test coverage detected