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

Function TEST_F

tensorflow/compiler/xla/tests/bitcast_convert_test.cc:44–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42};
43
44TEST_F(BitcastConvertTest, ConvertR1S32ToR1S32) {
45 XlaBuilder builder(TestName());
46 auto a = ConstantR1<int32>(&builder, {42, 64});
47 BitcastConvertType(a, S32);
48
49 std::vector<int32> expected = {42, 64};
50 ComputeAndCompareR1<int32>(&builder, expected, {});
51}
52
53TEST_F(BitcastConvertTest, ConvertR1F32ToR1F32) {
54 XlaBuilder builder(TestName());

Callers

nothing calls this directly

Calls 12

TestNameFunction · 0.85
BitcastConvertTypeFunction · 0.85
MakeShapeFunction · 0.85
MapFunction · 0.85
CreateSubBuilderMethod · 0.80
BuildAndNoteErrorMethod · 0.80
ErrorSpecClass · 0.70
minFunction · 0.50
maxFunction · 0.50
ParameterFunction · 0.50
ReshapeFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected