Searched refs:counter_var (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | reduce_test.py | 129 counter_var = variables.Variable(0) 132 counter_var.assign_add(1) 146 self.evaluate(counter_var.initializer) 148 self.assertEqual(self.evaluate(counter_var), 10) 151 counter_var = variables.Variable(0) 157 counter_var.assign_add(1) 165 self.evaluate(counter_var.initializer) 167 self.assertEqual(self.evaluate(counter_var), 10) 170 counter_var = variables.Variable(1) 176 counter_var.assign(counter_var + 1) [all …]
|
D | map_test.py | 437 counter_var = variable_scope.get_variable( 441 counter_var.assign_add(1) 448 self.evaluate(counter_var.initializer) 450 self.assertEqual(i, self.evaluate(counter_var)) 452 self.assertEqual(10, self.evaluate(counter_var)) 455 self.assertEqual(10, self.evaluate(counter_var)) 1050 counter_var = variable_scope.get_variable( 1052 return counter_var.assign_add(1) 1078 counter_var = variable_scope.get_variable( 1082 dataset, lambda _: counter_var.assign_add(1)) [all …]
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | get_single_element_test.py | 77 counter_var = variables.Variable(0) 80 counter_var.assign_add(1) 91 self.evaluate(counter_var.initializer) 93 self.assertEqual(self.evaluate(counter_var), 1) 96 counter_var = variables.Variable(1) 99 counter_var.assign(counter_var + 1) 103 counter_var.assign(counter_var * 2) 118 self.evaluate(counter_var.initializer) 120 self.assertEqual(self.evaluate(counter_var), 4)
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_flow.c | 226 state->counter_var = lp_build_alloca(gallivm, LLVMTypeOf(start), "loop_counter"); in lp_build_loop_begin() 229 LLVMBuildStore(builder, start, state->counter_var); in lp_build_loop_begin() 235 state->counter = LLVMBuildLoad(builder, state->counter_var, ""); in lp_build_loop_begin() 255 LLVMBuildStore(builder, next, state->counter_var); in lp_build_loop_end_cond() 265 state->counter = LLVMBuildLoad(builder, state->counter_var, ""); in lp_build_loop_end_cond() 303 state->counter_var = lp_build_alloca(gallivm, LLVMTypeOf(start), "loop_counter"); in lp_build_for_loop_begin() 308 LLVMBuildStore(builder, start, state->counter_var); in lp_build_for_loop_begin() 312 state->counter = LLVMBuildLoad(builder, state->counter_var, ""); in lp_build_for_loop_begin() 328 LLVMBuildStore(builder, next, state->counter_var); in lp_build_for_loop_end()
|
D | lp_bld_flow.h | 114 LLVMValueRef counter_var; member 145 LLVMValueRef counter_var; member
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/ |
D | map_dataset_serialization_test.py | 76 counter_var = variable_scope.get_variable( 79 lambda _: counter_var.assign_add(1)))
|
D | parallel_map_dataset_serialization_test.py | 87 counter_var = variable_scope.get_variable( 90 lambda _: counter_var.assign_add(1),
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/ |
D | monitors_test.py | 530 counter_var = variables.VariableV1(0.0, name='my_counter') 531 assign_add = state_ops.assign_add(counter_var, 1.0, name='my_assign_add') 538 counter_var.name: step + 1.0, 548 counter_var.name: step + 31.0, 559 counter_var.name: (step + 31.0, step + 1.0), 565 counter_var.name: (step + 1.0, step + 31.0),
|