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

Function Or

tensorflow/compiler/xla/client/xla_builder.h:1657–1659  ·  view source on GitHub ↗

Overload to call Or with 3 or more operands. As with `And`, we need the following complicated overload set to handle the default arg in the `Or` overload above.

Source from the content-addressed store, hash-verified

1655// following complicated overload set to handle the default arg in the `Or`
1656// overload above.
1657inline XlaOp Or(XlaOp op1, XlaOp op2, XlaOp op3) {
1658 return Or(op1, Or(op2, op3));
1659}
1660template <typename... XlaOpTs>
1661XlaOp Or(XlaOp op1, XlaOp op2, XlaOp op3, const XlaOpTs&... operands) {
1662 return Or(op1, Or(op2, Or(op3, operands...)));

Callers 15

TEST_FFunction · 0.70
CompileMethod · 0.50
DynamicAddSliceFunction · 0.50
CompileMethod · 0.50
CompileMethod · 0.50
BuildReducerMethod · 0.50
binary_ops.ccFile · 0.50
IgammaFunction · 0.50
IgammaGradAFunction · 0.50
RandomGammaGradFunction · 0.50
IgammacFunction · 0.50
RoundToEvenFunction · 0.50

Calls

no outgoing calls

Tested by 5

TEST_FFunction · 0.56
XLA_TEST_FFunction · 0.40
XLA_TEST_FFunction · 0.40
XLA_TEST_FFunction · 0.40
XLA_TEST_FFunction · 0.40