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

Method cond

tensorflow/python/ops/control_flow_ops_test.py:208–209  ·  view source on GitHub ↗
(it, _)

Source from the content-addressed store, hash-verified

206 initializer=init_ops.random_normal_initializer())
207
208 def cond(it, _):
209 return it < 5
210
211 def body(it, cost):
212 embedding = embedding_ops.embedding_lookup(embedding_matrix + 0.0, [0])

Callers 15

bodyMethod · 0.45
testCondTrueMethod · 0.45
testCondFalseMethod · 0.45
testCondTrueLegacyMethod · 0.45
testCondFalseLegacyMethod · 0.45
testCondMissingArg1Method · 0.45
testCondMissingArg2Method · 0.45
testCondDuplicateArg1Method · 0.45
testCondDuplicateArg2Method · 0.45
testCond_gradientMethod · 0.45
testCondContextMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected