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

Function Shape

tensorflow/compiler/xla/service/hlo_matchers.h:379–382  ·  view source on GitHub ↗

Verifies the shape or the shape and the layout of an HLO instruction against the provided shape object.

Source from the content-addressed store, hash-verified

377// Verifies the shape or the shape and the layout of an HLO instruction against
378// the provided shape object.
379inline ::testing::Matcher<const ::xla::HloInstruction*> Shape(
380 const class Shape& shape) {
381 return ::testing::MakeMatcher(new ::xla::testing::HloShapeMatcher(shape));
382}
383inline ::testing::Matcher<const ::xla::HloInstruction*> Shape(
384 absl::string_view shape) {
385 return ::testing::MakeMatcher(

Callers 15

IsAllFpConstantPowerOf2Function · 0.70
HandleConcatenateMethod · 0.70
HandleDivideMethod · 0.70
TEST_FFunction · 0.70
TESTFunction · 0.70
TryPropagateConstantFunction · 0.70
MatchTrivialComputationFunction · 0.70
TEST_FFunction · 0.70
CompileMethod · 0.70
TransferToClientMethod · 0.70

Calls 1

ParseShapeFunction · 0.85

Tested by 7

TEST_FFunction · 0.56
TESTFunction · 0.56
TEST_FFunction · 0.56
TEST_FFunction · 0.56
TEST_FFunction · 0.56
MakeFakeArgumentsOrDieFunction · 0.40
TEST_FFunction · 0.40