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

Function Add

tensorflow/compiler/xla/client/xla_builder.cc:3229–3233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3227}
3228
3229XlaOp Add(const XlaOp lhs, const XlaOp rhs,
3230 absl::Span<const int64> broadcast_dimensions) {
3231 return lhs.builder()->BinaryOp(HloOpcode::kAdd, lhs, rhs,
3232 broadcast_dimensions);
3233}
3234
3235XlaOp Sub(const XlaOp lhs, const XlaOp rhs,
3236 absl::Span<const int64> broadcast_dimensions) {

Callers 13

operator+Function · 0.70
CrossReplicaSumMethod · 0.70
TEST_FFunction · 0.70
ForEachIndexFunction · 0.50
NextAfterFunction · 0.50
HouseRowFunction · 0.50
HouseColFunction · 0.50
XLA_TEST_FFunction · 0.50
XLA_TEST_FFunction · 0.50

Calls 2

BinaryOpMethod · 0.45
builderMethod · 0.45

Tested by 3

TEST_FFunction · 0.56
XLA_TEST_FFunction · 0.40
XLA_TEST_FFunction · 0.40