MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / XLA_TEST_P

Function XLA_TEST_P

tensorflow/compiler/xla/tests/scalar_computations_test.cc:288–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286 public ::testing::WithParamInterface<DivS32Params> {};
287
288XLA_TEST_P(DivS32Test, DivideTwoScalarsS32) {
289 DivS32Params p = GetParam();
290 XlaBuilder builder(TestName());
291 Div(ConstantR0<int32>(&builder, p.dividend),
292 ConstantR0<int32>(&builder, p.divisor));
293
294 ComputeAndCompareR0<int32>(&builder, p.quotient, {});
295}
296
297XLA_TEST_P(DivS32Test, RemainderTwoScalarsS32) {
298 DivS32Params p = GetParam();

Callers

nothing calls this directly

Calls 5

GetParamFunction · 0.85
TestNameFunction · 0.85
RemFunction · 0.85
DivFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected