Home
last modified time | relevance | path

Searched refs:var_0 (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/contrib/opt/python/training/
Ddrop_stale_gradient_optimizer_test.py64 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 …]
Dagn_optimizer_test.py81 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 …]
Delastic_average_optimizer_test.py85 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 …]
Dmodel_average_optimizer_test.py80 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/
Dvp9_blockiness.c61 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/
Dblockiness.c68 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/
Dgraph_util_test.py52 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/
Dfrom_tensors_test.py269 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/
Dsync_replicas_optimizer_test.py46 var_0 = variables.VariableV1(0.0, name="v0")
68 [var_0, var_1, var_sparse]),
/external/llvm/test/Transforms/IndVarSimplify/
Deliminate-comparison.ll371 %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/
Deliminate-comparison.ll371 %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/
Dmetric_ops.py1354 var_0 = (
1362 (var_0 / (total_0 + _EPSILON)) + (var_1 / (total_1 + _EPSILON)))
/external/tensorflow/tensorflow/python/training/tracking/
Dutil_test.py1108 self.assertEqual(0, self.evaluate(checkpoint.var_0))
1113 self.assertEqual(0, self.evaluate(checkpoint.var_0))