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

Function Conditional

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

Source from the content-addressed store, hash-verified

3530}
3531
3532XlaOp Conditional(const XlaOp predicate, const XlaOp true_operand,
3533 const XlaComputation& true_computation,
3534 const XlaOp false_operand,
3535 const XlaComputation& false_computation) {
3536 return predicate.builder()->Conditional(predicate, true_operand,
3537 true_computation, false_operand,
3538 false_computation);
3539}
3540
3541XlaOp Conditional(const XlaOp branch_index,
3542 absl::Span<const XlaComputation* const> branch_computations,

Callers 4

ExportXlaOpFunction · 0.50
XLA_TEST_FFunction · 0.50
XLA_TEST_PFunction · 0.50
XLA_TEST_FFunction · 0.50

Calls 2

ConditionalMethod · 0.45
builderMethod · 0.45

Tested by 3

XLA_TEST_FFunction · 0.40
XLA_TEST_PFunction · 0.40
XLA_TEST_FFunction · 0.40