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

Function describeMathCPU

tfjs-layers/src/utils/test_utils.ts:115–120  ·  view source on GitHub ↗
(testName: string, tests: () => void)

Source from the content-addressed store, hash-verified

113 * @param tests
114 */
115export function describeMathCPU(testName: string, tests: () => void) {
116 describeWithFlags(
117 testName, {predicate: testEnv => testEnv.backendName === 'cpu'}, () => {
118 tests();
119 });
120}
121
122/**
123 * Describe tests to be run on GPU only.

Callers 15

optimizers_test.tsFile · 0.90
models_test.tsFile · 0.90
variables_test.tsFile · 0.90
math_utils_test.tsFile · 0.90
topology_test.tsFile · 0.90
training_test.tsFile · 0.90

Calls 1

describeWithFlagsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…