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

Method cond

tensorflow/contrib/summary/summary_ops_graph_test.py:349–350  ·  view source on GitHub ↗
(pred)

Source from the content-addressed store, hash-verified

347 summary_ops.scalar('scalar', 2.0)
348 return constant_op.constant(False)
349 def cond(pred):
350 return pred
351 pred = array_ops.placeholder(dtypes.bool)
352 x = control_flow_ops.while_loop(cond, body, [pred])
353 x.eval(feed_dict={pred: True})

Callers 15

_decode_and_random_cropFunction · 0.45
connected_componentsFunction · 0.45
_compute_dynamic_aucFunction · 0.45
_compute_placement_aucFunction · 0.45
streaming_concatFunction · 0.45
_process_input_helperMethod · 0.45
_initialize_variablesMethod · 0.45
_fnMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected