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

Function XLA_TEST_F

tensorflow/compiler/xla/tests/slice_test.cc:80–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80XLA_TEST_F(SliceTest, Slice0x0to0x0F32) {
81 XlaBuilder builder(TestName());
82 auto original = ConstantR2FromArray2D<float>(&builder, Array2D<float>(0, 0));
83 Slice(original, {0, 0}, {0, 0}, {1, 1});
84
85 ComputeAndCompareR2<float>(&builder, Array2D<float>(0, 0), {});
86}
87
88XLA_TEST_F(SliceTest, Slice0x20to0x5F32) {
89 XlaBuilder builder(TestName());

Callers

nothing calls this directly

Calls 7

TestNameFunction · 0.85
ConstantR4FromArray4DFunction · 0.85
ErrorSpecClass · 0.70
SliceFunction · 0.50
MakeLayoutFunction · 0.50
FillRandomMethod · 0.45
shapeMethod · 0.45

Tested by

no test coverage detected