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

Method InferBinaryOpShape

tensorflow/compiler/xla/service/shape_inference.cc:931–935  ·  view source on GitHub ↗

static */

Source from the content-addressed store, hash-verified

929}
930
931/* static */ StatusOr<Shape> ShapeInference::InferBinaryOpShape(
932 HloOpcode opcode, const HloInstruction* lhs, const HloInstruction* rhs) {
933 return InferBinaryOpShape(opcode, lhs->shape(), rhs->shape(),
934 /*broadcast_dimensions=*/{});
935}
936
937/* static */ StatusOr<Shape> ShapeInference::InferBinaryOpShape(
938 HloOpcode opcode, const Shape& lhs, const Shape& rhs,

Callers

nothing calls this directly

Calls 9

HloOpcodeStringFunction · 0.85
ExpectArrayFunction · 0.85
InvalidArgumentFunction · 0.85
UnimplementedFunction · 0.85
IsIntegralTypeFunction · 0.85
StrCatFunction · 0.50
shapeMethod · 0.45
element_typeMethod · 0.45
ShortDebugStringMethod · 0.45

Tested by

no test coverage detected