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

Method CompatibleIgnoringFpPrecision

tensorflow/compiler/xla/shape_util.cc:556–562  ·  view source on GitHub ↗

static */

Source from the content-addressed store, hash-verified

554}
555
556/* static */ bool ShapeUtil::CompatibleIgnoringFpPrecision(const Shape& lhs,
557 const Shape& rhs) {
558 return Shape::Equal()
559 .IgnoreDynamicDimension()
560 .IgnoreFpPrecision()
561 .IgnoreLayout()(lhs, rhs);
562}
563
564/* static */ int64 ShapeUtil::GetDimension(const Shape& shape,
565 int64 dimension_number) {

Callers

nothing calls this directly

Calls 1

EqualClass · 0.70

Tested by

no test coverage detected