MCPcopy Create free account
hub / github.com/alibaba/nann / count_up_to

Method count_up_to

tensorflow/tensorflow/python/ops/variables.py:968–988  ·  view source on GitHub ↗

Increments this variable until it reaches `limit`. When that Op is run it tries to increment the variable by `1`. If incrementing the variable would bring it above `limit` then the Op raises the exception `OutOfRangeError`. If no error is raised, the Op outputs the value of the var

(self, limit)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

testOneThreadMethod · 0.95
testMultiThreadMethod · 0.95
testMultipleDequeueMethod · 0.95
testDynamicPadMethod · 0.95
_countUpToTestMethod · 0.95
_testOneThreadHelperMethod · 0.95
testManyThreadsMethod · 0.95
testSharedNameMethod · 0.95

Calls

no outgoing calls

Tested by 15

testOneThreadMethod · 0.76
testMultiThreadMethod · 0.76
testMultipleDequeueMethod · 0.76
testDynamicPadMethod · 0.76
_countUpToTestMethod · 0.76
_testOneThreadHelperMethod · 0.76
testManyThreadsMethod · 0.76
testSharedNameMethod · 0.76