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

Function XLA_TEST_F

tensorflow/compiler/xla/tests/convert_test.cc:156–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156XLA_TEST_F(ConvertTest, ConvertR1S0S32ToR1S0F32) {
157 XlaBuilder builder(TestName());
158 auto a = ConstantR1<int32>(&builder, {});
159 ConvertElementType(a, F32);
160
161 std::vector<float> expected = {};
162 ComputeAndCompareR1<float>(&builder, expected, {});
163}
164
165TEST_F(ConvertTest, ConvertR1F32ToR1S32) {
166 XlaBuilder builder(TestName());

Callers

nothing calls this directly

Calls 14

TestNameFunction · 0.85
MakeShapeFunction · 0.85
BitcastConvertTypeFunction · 0.85
ConsumeValueOrDieMethod · 0.80
ErrorSpecClass · 0.70
ConvertElementTypeFunction · 0.50
ParameterFunction · 0.50
halfClass · 0.50
TF_ASSERT_OK_AND_ASSIGNFunction · 0.50
shapeMethod · 0.45
TransferToServerMethod · 0.45

Tested by

no test coverage detected