Home
last modified time | relevance | path

Searched refs:new_v (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dadjust_hsv_gpu.cu.h118 float new_v = hsv.v; in adjust_hsv_nhwc() local
135 new_v = hsv.v * scale; in adjust_hsv_nhwc()
137 const RgbTuple rgb = hsv2rgb_cuda(new_h, new_s, new_v); in adjust_hsv_nhwc()
/external/tensorflow/tensorflow/python/autograph/utils/
Dmisc_test.py55 new_a, new_v, new_s, new_l = misc.alias_tensors(a, v, s, l)
58 self.assertTrue(new_v is v)
/external/tensorflow/tensorflow/core/lib/strings/
Dstr_util.cc401 uint64 new_v = (v * 10) + (c - '0'); in ConsumeLeadingDigits() local
402 if (new_v / 8 < v) { in ConsumeLeadingDigits()
406 v = new_v; in ConsumeLeadingDigits()
/external/tensorflow/tensorflow/core/framework/
Dshape_inference.cc72 auto& new_v = *handle_data[i]; in InferenceContext() local
76 MakeShapeFromShapeProto(p.first, &new_v[j].shape)); in InferenceContext()
80 new_v[j].dtype = p.second; in InferenceContext()
126 auto& new_v = *handle_data[i]; in InferenceContext() local
130 MakeShapeFromPartialTensorShape(p.first, &new_v[j].shape)); in InferenceContext()
134 new_v[j].dtype = p.second; in InferenceContext()
/external/tensorflow/tensorflow/python/util/
Dnest.py345 for new_i, new_v in zip(flat_i, flat_v):
350 flat_dictionary[new_i] = new_v
/external/tensorflow/tensorflow/python/kernel_tests/
Dresource_variable_ops_test.py302 new_v = pickle.load(f)
303 self.assertEqual(new_v.name, v.name)
304 self.assertEqual(new_v.shape, v.shape)
305 self.assertEqual(new_v.dtype, v.dtype)
306 self.assertEqual(new_v.trainable, v.trainable)
307 self.assertAllEqual(new_v.numpy(), v.numpy())
Dvariable_scope_test.py200 new_v = variable_scope.get_variable("v")
202 self.assertEqual(new_v.numpy(), v.numpy())
204 self.assertTrue(new_v in new_store.variables())
206 self.assertTrue(new_v in new_store.trainable_variables())
208 self.assertFalse(new_v in new_store.non_trainable_variables())