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

Function TEST_F

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

Source from the content-addressed store, hash-verified

42};
43
44TEST_F(ConstantsTest, ZeroCellF32) {
45 XlaBuilder builder(TestName());
46 ConstantR1<float>(&builder, {});
47
48 ComputeAndCompareR1<float>(&builder, {}, {}, error_spec_);
49}
50
51TEST_F(ConstantsTest, OneCellF32) {
52 std::vector<float> constant = {2.0};

Callers

nothing calls this directly

Calls 15

TestNameFunction · 0.85
MakeLinspaceArray2DFunction · 0.85
ConstantLiteralFunction · 0.85
LiteralSliceClass · 0.85
CreateTokenFunction · 0.85
FullLikeFunction · 0.85
ConstantR0WithTypeFunction · 0.85
FillWithPZMethod · 0.80
ConsumeValueOrDieMethod · 0.80
TupleFunction · 0.50
ExecuteFunction · 0.50
IotaFunction · 0.50

Tested by

no test coverage detected