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

Method defaults_two

tensorflow/python/data/kernel_tests/map_test.py:518–523  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

516 return x // 2
517
518 def defaults_two():
519 return control_flow_ops.cond(
520 math_ops.equal(math_ops.mod(x, 2), 0),
521 multiply,
522 divide,
523 name="cond_mult")
524
525 pred_fn_pairs = [
526 (math_ops.logical_or(math_ops.equal(y, 2),

Callers

nothing calls this directly

Calls 3

equalMethod · 0.80
modMethod · 0.80
condMethod · 0.45

Tested by

no test coverage detected