MCPcopy Create free account
hub / github.com/alibaba/bigcomputing / condition

Function condition

DIEN/rnn.py:1035–1036  ·  view source on GitHub ↗
(unused_time, elements_finished, *_)

Source from the content-addressed store, hash-verified

1033 flat_sequence=flat_zero_emit)
1034
1035 def condition(unused_time, elements_finished, *_):
1036 return math_ops.logical_not(math_ops.reduce_all(elements_finished))
1037
1038 def body(time, elements_finished, current_input,
1039 emit_ta, state, loop_state):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected