/external/tensorflow/tensorflow/contrib/opt/python/training/ |
D | drop_stale_gradient_optimizer_test.py | 64 var_0 = variables.VariableV1(0.0, name='v0') 74 loss = 0 - var_0 - var_1 123 var_0 = graphs[0].get_tensor_by_name('v0:0') 127 self.assertAllEqual(0.0, sessions[0].run(var_0)) 136 self.assertAllEqual(0.0 + 1.0, sessions[0].run(var_0)) 146 var_0 = graphs[0].get_tensor_by_name('v0:0') 150 self.assertAllEqual(0.0, sessions[0].run(var_0)) 160 self.assertAllEqual(0.0, sessions[0].run(var_0)) 169 var_0 = graphs[0].get_tensor_by_name('v0:0') 173 self.assertAllEqual(0.0, sessions[0].run(var_0)) [all …]
|
D | agn_optimizer_test.py | 81 var_0 = variable_scope.get_variable(initializer=0.0, name="v0") 112 opt.apply_gradients(([grads_0, var_0], [grads_1, var_1]), 118 ([grads_0, var_0], [grads_1, var_1], [grads_part_0, part_0], 147 var_0 = graphs[0].get_tensor_by_name("v0:0") 163 self.assertAllEqual(0.0, sessions[0].run(var_0)) 170 self.assertNear(0.1, sessions[0].run(var_0), 1e-6) 179 self.assertNear(0.3, sessions[0].run(var_0), 1e-6) 185 self.assertAllEqual(sessions[0].run(var_0), sessions[0].run(var_0_g)) 187 self.assertNear(0.1, sessions[0].run(var_0), 1e-6) 194 self.assertAllEqual(sessions[0].run(var_0), sessions[0].run(var_0_g)) [all …]
|
D | elastic_average_optimizer_test.py | 85 var_0 = variable_scope.get_variable(initializer=0.0, name="v0") 120 opt.apply_gradients(([grads_0, var_0], [grads_1, var_1]), 125 opt.apply_gradients(([grads_0, var_0], 160 var_0 = graphs[0].get_tensor_by_name("v0:0") 166 self.assertAllEqual(0.0, sessions[0].run(var_0)) 174 self.assertAllEqual(1.0, sessions[0].run(var_0)) 183 self.assertAllEqual(0.0, sessions[0].run(var_0)) 192 self.assertAllEqual(1.0, sessions[0].run(var_0)) 223 var_0 = graphs[0].get_tensor_by_name("v0:0") 235 self.assertAllEqual(0.0, sessions[0].run(var_0)) [all …]
|
D | model_average_optimizer_test.py | 80 var_0 = variable_scope.get_variable(initializer=0.0, name="v0") 98 opt.apply_gradients([[grads_0, var_0], [grads_1, var_1]], 126 var_0 = graphs[0].get_tensor_by_name("v0:0") 135 self.assertAllEqual(0.0, sessions[0].run(var_0)) 144 self.assertAllEqual(1.0, sessions[0].run(var_0)) 160 self.assertAllEqual(3.0, sessions[0].run(var_0)) 169 self.assertAllEqual(4.0, sessions[0].run(var_0))
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_blockiness.c | 61 int var_0; in blockiness_vertical() local 71 var_0 = variance(sum_0, sum_sq_0, size); in blockiness_vertical() 77 return (r_blockiness - s_blockiness) / (1 + var_0 + var_1); in blockiness_vertical() 93 int var_0; in blockiness_horizontal() local 103 var_0 = variance(sum_0, sum_sq_0, size); in blockiness_horizontal() 109 return (r_blockiness - s_blockiness) / (1 + var_0 + var_1); in blockiness_horizontal()
|
/external/libaom/libaom/av1/encoder/ |
D | blockiness.c | 68 int var_0; in blockiness_vertical() local 78 var_0 = variance(sum_0, sum_sq_0, size); in blockiness_vertical() 84 return (r_blockiness - s_blockiness) / (1 + var_0 + var_1); in blockiness_vertical() 100 int var_0; in blockiness_horizontal() local 110 var_0 = variance(sum_0, sum_sq_0, size); in blockiness_horizontal() 116 return (r_blockiness - s_blockiness) / (1 + var_0 + var_1); in blockiness_horizontal()
|
/external/tensorflow/tensorflow/python/framework/ |
D | graph_util_test.py | 52 var_0 = gen_state_ops.variable( 98 self.assertDeviceEqual(var_0.device, None) 109 var_0 = variables.VariableV1(0) 117 self.assertDeviceEqual(var_0.device, None)
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | from_tensors_test.py | 269 var_0 = resource_variable_ops.ResourceVariable(initial_value=0) 270 dataset = dataset.map(lambda x: x + var_0.read_value()) 271 sess.run(var_0.initializer)
|
/external/tensorflow/tensorflow/python/training/ |
D | sync_replicas_optimizer_test.py | 46 var_0 = variables.VariableV1(0.0, name="v0") 68 [var_0, var_1, var_sparse]),
|
/external/llvm/test/Transforms/IndVarSimplify/ |
D | eliminate-comparison.ll | 371 %var_0.in = phi i32 [ %var_0, %bb1 ], [ %len, %bb0.preheader ] 373 %var_0 = add nsw i32 %var_0.in, -1 387 %tmp31 = icmp eq i32 %var_0, 0
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/IndVarSimplify/ |
D | eliminate-comparison.ll | 371 %var_0.in = phi i32 [ %var_0, %bb1 ], [ %len, %bb0.preheader ] 373 %var_0 = add nsw i32 %var_0.in, -1 387 %tmp31 = icmp eq i32 %var_0, 0
|
/external/tensorflow/tensorflow/contrib/metrics/python/ops/ |
D | metric_ops.py | 1354 var_0 = ( 1362 (var_0 / (total_0 + _EPSILON)) + (var_1 / (total_1 + _EPSILON)))
|
/external/tensorflow/tensorflow/python/training/tracking/ |
D | util_test.py | 1108 self.assertEqual(0, self.evaluate(checkpoint.var_0)) 1113 self.assertEqual(0, self.evaluate(checkpoint.var_0))
|