Home
last modified time | relevance | path

Searched refs:incr_step (Results 1 – 5 of 5) sorted by relevance

/external/grpc-grpc/test/core/gpr/
Dspinlock_test.cc42 int incr_step; /* how much to increment/decrement refcount each time */ member
48 static struct test* test_new(int threads, int64_t iterations, int incr_step) { in test_new() argument
56 m->incr_step = incr_step; in test_new()
91 int incr_step) { in test() argument
105 m = test_new(10, iterations, incr_step); in test()
108 if (m->counter != m->thread_count * m->iterations * m->incr_step) { in test()
Dsync_test.cc145 int incr_step; /* how much to increment/decrement refcount each time */ member
163 static struct test* test_new(int nthreads, int64_t iterations, int incr_step) { in test_new() argument
172 m->incr_step = incr_step; in test_new()
243 void (*extra)(void* m), int timeout_s, int incr_step) { in test() argument
256 m = test_new(10, iterations, incr_step); in test()
268 if (m->counter != m->nthreads * m->iterations * m->incr_step) { in test()
427 if (m->incr_step == 1) { in refinc()
430 gpr_refn(&m->refcount, m->incr_step); in refinc()
444 int64_t n = m->iterations * m->nthreads * m->incr_step; in refcheck()
/external/tensorflow/tensorflow/contrib/factorization/python/ops/
Dgmm.py167 incr_step = state_ops.assign_add(training_util.get_global_step(), 1)
168 training_op = with_dependencies([training_op, incr_step], loss)
Dkmeans.py211 incr_step = state_ops.assign_add(training_util.get_global_step(), 1)
212 training_op = control_flow_ops.with_dependencies([training_op, incr_step],
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dkmeans.py131 incr_step = state_ops.assign_add(training_util.get_global_step(), 1)
134 training_op = with_dependencies([training_op, incr_step], loss)