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

Function Fail

tensorflow/compiler/xla/service/shape_inference_test.cc:632–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

630}
631
632static void Fail(const Shape& shape, FftType type,
633 absl::Span<const int64> length, absl::string_view message) {
634 auto inferred_status = ShapeInference::InferFftShape(shape, type, length);
635 ASSERT_FALSE(inferred_status.ok());
636 ASSERT_THAT(inferred_status.status().error_message(),
637 HasSubstr(std::string(message)));
638}
639
640} // namespace fft
641

Callers 1

TEST_FFunction · 0.85

Calls 3

HasSubstrFunction · 0.50
okMethod · 0.45
statusMethod · 0.45

Tested by

no test coverage detected