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

Function cond

tensorflow/contrib/training/python/training/resample.py:48–49  ·  view source on GitHub ↗
(unused_output, i)

Source from the content-addressed store, hash-verified

46 counts = ops.convert_to_tensor(counts, name='counts')
47
48 def cond(unused_output, i):
49 return i < size
50
51 def body(output, i):
52 value = array_ops.fill(counts[i:i+1], i)

Callers 2

operator()Method · 0.50
CreateCondFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected