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

Function describeMathWebGL2

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

Source from the content-addressed store, hash-verified

137 * @param tests
138 */
139export function describeMathWebGL2(testName: string, tests: () => void) {
140 describeWithFlags(
141 testName, {
142 predicate: testEnv => testEnv.backendName === 'webgl' &&
143 (testEnv.flags == null || testEnv.flags['WEBGL_VERSION'] === 2)
144
145 },
146 () => {
147 tests();
148 });
149}
150
151/**
152 * Check that a function only generates the expected number of new Tensors.

Callers 1

recurrent_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…