MCPcopy Create free account
hub / github.com/tensorflow/tfjs / customInclude

Function customInclude

tfjs-backend-cpu/src/run_tests.ts:46–54  ·  view source on GitHub ↗
(testName: string)

Source from the content-addressed store, hash-verified

44
45const TEST_FILTERS: TestFilter[] = [];
46const customInclude = (testName: string) => {
47 // Exclude webworker test
48 if (testName.includes('computation in worker')) {
49 return false;
50 }
51
52 // Include all other tests.
53 return true;
54};
55setupTestFilters(TEST_FILTERS, customInclude);
56
57runner.execute();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…