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

Function XLA_TEST_F

tensorflow/compiler/xla/tests/select_test.cc:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66XLA_TEST_F(SelectTest, SelectR1S0F32WithConstantR1S0PRED) {
67 XlaBuilder builder(TestName());
68 auto pred = ConstantR1<bool>(&builder, {});
69 auto on_true = ConstantR1<float>(&builder, {});
70 auto on_false = ConstantR1<float>(&builder, {});
71 Select(pred, on_true, on_false);
72
73 ComputeAndCompareR1<float>(&builder, {}, {}, error_spec_);
74}
75
76TEST_F(SelectTest, SelectR1F32WithConstantR1PRED) {
77 XlaBuilder builder(TestName());

Callers

nothing calls this directly

Calls 3

TestNameFunction · 0.85
SelectFunction · 0.50
EqClass · 0.50

Tested by

no test coverage detected