/external/tensorflow/tensorflow/python/ops/ |
D | random_ops.py | 88 mean_tensor = ops.convert_to_tensor(mean, dtype=dtype, name="mean") 89 stddev_tensor = ops.convert_to_tensor(stddev, dtype=dtype, name="stddev") 139 means_tensor = ops.convert_to_tensor(means, dtype=dtype, name="means") 140 stddevs_tensor = ops.convert_to_tensor(stddevs, dtype=dtype, name="stddevs") 141 minvals_tensor = ops.convert_to_tensor(minvals, dtype=dtype, name="minvals") 142 maxvals_tensor = ops.convert_to_tensor(maxvals, dtype=dtype, name="maxvals") 189 mean_tensor = ops.convert_to_tensor(mean, dtype=dtype, name="mean") 190 stddev_tensor = ops.convert_to_tensor(stddev, dtype=dtype, name="stddev") 288 minval = ops.convert_to_tensor(minval, dtype=dtype, name="min") 289 maxval = ops.convert_to_tensor(maxval, dtype=dtype, name="max") [all …]
|
D | state_ops.py | 110 value = ops.convert_to_tensor(value, name="value") 113 init = ops.convert_to_tensor(init, name="init") 305 ref.handle, indices, ops.convert_to_tensor(updates, ref.dtype), 367 ref.handle, indices, ops.convert_to_tensor(updates, ref.dtype), 419 ref.handle, indices, ops.convert_to_tensor(updates, ref.dtype), 482 ref.handle, indices, ops.convert_to_tensor(updates, ref.dtype), 536 ref.handle, indices, ops.convert_to_tensor(updates, ref.dtype), 600 ref.handle, indices, ops.convert_to_tensor(updates, ref.dtype), 652 ref.handle, indices, ops.convert_to_tensor(updates, ref.dtype), 704 ref.handle, indices, ops.convert_to_tensor(updates, ref.dtype), [all …]
|
D | math_ops.py | 265 x = ops.convert_to_tensor(x, name="x") 421 scalar = ops.convert_to_tensor( 501 real = ops.convert_to_tensor(real, name="real") 502 imag = ops.convert_to_tensor(imag, name="imag") 540 x = ops.convert_to_tensor(x) 580 input = ops.convert_to_tensor(input, name="input") 614 input = ops.convert_to_tensor(input, name="input") 654 input = ops.convert_to_tensor(input, name="input") 685 x = ops.convert_to_tensor(x, name="x") 748 x = ops.convert_to_tensor(x, name="x") [all …]
|
D | check_ops.py | 328 x = ops.convert_to_tensor(x, name='x') 329 y = ops.convert_to_tensor(y, name='y') 444 x = ops.convert_to_tensor(x, name='x') 454 zero = ops.convert_to_tensor(0, dtype=x.dtype) 496 x = ops.convert_to_tensor(x, name='x') 505 zero = ops.convert_to_tensor(0, dtype=x.dtype) 549 x = ops.convert_to_tensor(x, name='x') 559 zero = ops.convert_to_tensor(0, dtype=x.dtype) 603 x = ops.convert_to_tensor(x, name='x') 613 zero = ops.convert_to_tensor(0, dtype=x.dtype) [all …]
|
D | stateless_random_ops.py | 92 minval = ops.convert_to_tensor(minval, dtype=dtype, name="min") 93 maxval = ops.convert_to_tensor(maxval, dtype=dtype, name="max") 136 mean = ops.convert_to_tensor(mean, dtype=dtype, name="mean") 137 stddev = ops.convert_to_tensor(stddev, dtype=dtype, name="stddev") 180 mean = ops.convert_to_tensor(mean, dtype=dtype, name="mean") 181 stddev = ops.convert_to_tensor(stddev, dtype=dtype, name="stddev") 271 logits = ops.convert_to_tensor(logits, name="logits")
|
D | nn_impl.py | 86 log_input = ops.convert_to_tensor(log_input, name="log_input") 87 targets = ops.convert_to_tensor(targets, name="targets") 165 logits = ops.convert_to_tensor(logits, name="logits") 166 labels = ops.convert_to_tensor(labels, name="labels") 299 logits = ops.convert_to_tensor(logits, name="logits") 300 labels = ops.convert_to_tensor(labels, name="labels") 418 per_example_loss = ops.convert_to_tensor(per_example_loss) 495 x = ops.convert_to_tensor(x, name="x") 496 weights = ops.convert_to_tensor(weights, name="weights") 497 biases = ops.convert_to_tensor(biases, name="biases") [all …]
|
D | image_ops_impl.py | 422 image = ops.convert_to_tensor(image, name='image') 537 image = ops.convert_to_tensor(image, name='image') 573 image = ops.convert_to_tensor(image, name='image') 575 k = ops.convert_to_tensor(k, dtype=dtypes.int32, name='k') 698 image = ops.convert_to_tensor(image, name='image') 764 image = ops.convert_to_tensor(image, name='image') 899 image = ops.convert_to_tensor(image, name='image') 982 image = ops.convert_to_tensor(image, name='image') 1062 image = ops.convert_to_tensor(image, name='image') 1173 images = ops.convert_to_tensor(images, name='images') [all …]
|
D | array_ops.py | 280 input = ops.convert_to_tensor(input) 623 input = ops.convert_to_tensor(input) 731 input = ops.convert_to_tensor(input) 734 return ops.convert_to_tensor(num_elements, dtype=out_type) 741 input = ops.convert_to_tensor(input) 802 input = ops.convert_to_tensor(input) 1266 value_t = ops.convert_to_tensor(values[0]) 1267 value_shape = ops.convert_to_tensor(value_t).get_shape() 1325 return ops.convert_to_tensor(values, name=name) 1329 …value_shape = ops.convert_to_tensor(values[0], name=name)._shape_tuple() # pylint: disable=protec… [all …]
|
/external/tensorflow/tensorflow/python/ops/signal/ |
D | spectral_ops.py | 72 signals = ops.convert_to_tensor(signals, name='signals') 74 frame_length = ops.convert_to_tensor(frame_length, name='frame_length') 76 frame_step = ops.convert_to_tensor(frame_step, name='frame_step') 82 fft_length = ops.convert_to_tensor(fft_length, name='fft_length') 121 frame_step = ops.convert_to_tensor(frame_step, name='frame_step') 141 frame_length = ops.convert_to_tensor(frame_length, name='frame_length') 225 stfts = ops.convert_to_tensor(stfts, name='stfts') 227 frame_length = ops.convert_to_tensor(frame_length, name='frame_length') 229 frame_step = ops.convert_to_tensor(frame_step, name='frame_step') 234 fft_length = ops.convert_to_tensor(fft_length, name='fft_length') [all …]
|
D | mel_ops.py | 47 mel_values = ops.convert_to_tensor(mel_values) 65 frequencies_hertz = ops.convert_to_tensor(frequencies_hertz) 178 lower_edge_hertz = ops.convert_to_tensor( 180 upper_edge_hertz = ops.convert_to_tensor( 182 zero = ops.convert_to_tensor(0.0, dtype)
|
/external/tensorflow/tensorflow/python/ops/distributions/ |
D | util.py | 62 x = ops.convert_to_tensor(x, name="x") 94 x = ops.convert_to_tensor(x, name="x") 118 a = ops.convert_to_tensor(a, name="a") 119 b = ops.convert_to_tensor(b, name="b") 198 logits = ops.convert_to_tensor(logits, name="logits", dtype=dtype) 209 probs = ops.convert_to_tensor(probs, name="probs", dtype=dtype) 344 x = ops.convert_to_tensor(categorical_param, name="categorical_param") 431 x = ops.convert_to_tensor(x, name="x") 514 n = ops.convert_to_tensor(n, name="n") 515 counts = ops.convert_to_tensor(counts, name="counts") [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | stack_op_test.py | 256 ops.convert_to_tensor([1, constant_op.constant(0), 2]).eval()) 258 ops.convert_to_tensor( 262 ops.convert_to_tensor( 266 ops.convert_to_tensor([ 274 result = ops.convert_to_tensor([[[0., 0.], 286 result = ops.convert_to_tensor([[0, 0, 0], [0, v, 0], [0, 0, 0]]) 296 t_0 = ops.convert_to_tensor([[0., 0., 0.], [0., 0., 0.], [0., 0., 0.]]) 299 t_1 = ops.convert_to_tensor([[0., 0., 0.], constant_op.constant( 303 t_2 = ops.convert_to_tensor( 307 t_3 = ops.convert_to_tensor( [all …]
|
D | tensor_priority_test.py | 36 ops.convert_to_tensor([[1.0, 2.0]])) 38 tensor = ops.convert_to_tensor([[10.0, 20.0]]) 47 tensor = ops.convert_to_tensor([[10.0, 20.0]]) 61 tensor = ops.convert_to_tensor([[10.0, 20.0]]) 79 tensor = ops.convert_to_tensor([[10.0, 20.0]])
|
D | embedding_ops_test.py | 1034 ops.convert_to_tensor([0, 1, 2]), 1035 ops.convert_to_tensor([2, 3]) 1038 ops.convert_to_tensor([12, 23, 34]), 1039 ops.convert_to_tensor([1, 2]) 1048 ops.convert_to_tensor([0, 1, 2]), 1049 ops.convert_to_tensor([2, 3]) 1052 ops.convert_to_tensor([12, 23, 34]), 1053 ops.convert_to_tensor([1, 2]) 1062 ops.convert_to_tensor([0, 1, 2]), 1063 ops.convert_to_tensor([2, 3]) [all …]
|
D | parsing_ops_test.py | 141 "serialized": ops.convert_to_tensor(["", ""]), 214 "serialized": ops.convert_to_tensor(serialized), 234 "serialized": ops.convert_to_tensor(serialized), 277 "serialized": ops.convert_to_tensor(serialized), 322 "serialized": ops.convert_to_tensor(serialized), 364 "serialized": ops.convert_to_tensor(serialized), 423 "serialized": ops.convert_to_tensor(serialized), 459 "serialized": ops.convert_to_tensor(serialized), 511 "serialized": ops.convert_to_tensor(serialized), 539 "serialized": ops.convert_to_tensor(serialized), [all …]
|
D | basic_gpu_test.py | 44 inx = ops.convert_to_tensor(x) 45 iny = ops.convert_to_tensor(y) 50 inx = ops.convert_to_tensor(x) 51 iny = ops.convert_to_tensor(y) 97 inx = ops.convert_to_tensor(x) 147 inx = ops.convert_to_tensor(x) 148 iny = ops.convert_to_tensor(y + 0.1) 179 inx = ops.convert_to_tensor(x) 180 iny = ops.convert_to_tensor(y) 200 inx = ops.convert_to_tensor(x) [all …]
|
D | parse_single_example_op_test.py | 148 "serialized": ops.convert_to_tensor(""), 210 "serialized": ops.convert_to_tensor(serialized), 227 "serialized": ops.convert_to_tensor(serialized), 274 "serialized": ops.convert_to_tensor(proto.SerializeToString()), 318 "serialized": ops.convert_to_tensor(proto.SerializeToString()), 353 "serialized": ops.convert_to_tensor(proto.SerializeToString()), 406 "serialized": ops.convert_to_tensor(proto.SerializeToString()), 438 "serialized": ops.convert_to_tensor(proto.SerializeToString()), 483 ops.convert_to_tensor( 509 "serialized": ops.convert_to_tensor(proto.SerializeToString()), [all …]
|
D | cwise_ops_test.py | 92 ops.convert_to_tensor(np.array([x]).astype(dtype)), 93 ops.convert_to_tensor(np.array([y]).astype(dtype))) 124 out = tf_func(ops.convert_to_tensor(x), ops.convert_to_tensor(y)) 226 inx = ops.convert_to_tensor(x) 227 iny = ops.convert_to_tensor(y) 237 out = math_ops.logical_not(ops.convert_to_tensor(x)) 337 inx = ops.convert_to_tensor(x) 338 iny = ops.convert_to_tensor(y) 350 inxf = ops.convert_to_tensor(xf) 351 inyf = ops.convert_to_tensor(yf) [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/linalg/ |
D | linear_operator_util_test.py | 36 x = ops.convert_to_tensor([0., 2, 3]) 42 x = ops.convert_to_tensor([1., 0, 3]) 43 y = ops.convert_to_tensor([0., 0, 0]) 50 x = ops.convert_to_tensor([1., 2, 0]) 51 y = ops.convert_to_tensor([1., 2, 0]) 61 x = ops.convert_to_tensor([1., 2, 3]) 68 x = ops.convert_to_tensor([1., 0, 3]) 69 y = ops.convert_to_tensor([1., 2, 0]) 77 x = ops.convert_to_tensor([1., 0, 3]) 84 x = ops.convert_to_tensor([1., 2, 0]) [all …]
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | tf_utils_test.py | 39 ops.convert_to_tensor(0.))) 47 ops.convert_to_tensor(0.))) 57 return ops.convert_to_tensor(42.) 68 ops.convert_to_tensor(0.))) 77 ops.convert_to_tensor(0.))) 90 self.value = ops.convert_to_tensor([[42.]]) 105 x = ops.convert_to_tensor(d) 133 y = model(ops.convert_to_tensor([[7.]]))
|
/external/tensorflow/tensorflow/python/keras/ |
D | losses.py | 838 y_pred = ops.convert_to_tensor(y_pred) 861 y_pred = ops.convert_to_tensor(y_pred) 884 y_pred = ops.convert_to_tensor(y_pred) 909 y_pred = ops.convert_to_tensor(y_pred) 946 y_pred = ops.convert_to_tensor(y_pred) 968 y_pred = ops.convert_to_tensor(y_pred) 989 y_pred = ops.convert_to_tensor(y_pred) 1024 ops.convert_to_tensor(0.5, dtype=quadratic.dtype), 1045 y_pred = ops.convert_to_tensor(y_pred) 1072 y_pred = ops.convert_to_tensor(y_pred) [all …]
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | subclassed_layers_test.py | 40 self.b = ops.convert_to_tensor(2.0) 49 x = ops.convert_to_tensor([[3.0]]) 61 a = ops.convert_to_tensor(1.0) 64 self.constant = ops.convert_to_tensor(self.variable) 73 x = ops.convert_to_tensor([[3.0]])
|
/external/tensorflow/tensorflow/python/ops/linalg/ |
D | linear_operator_util.py | 116 return ops.convert_to_tensor( 183 x = ops.convert_to_tensor(x, name="x") 186 zero = ops.convert_to_tensor(0, dtype=dtype.real_dtype) 202 x = ops.convert_to_tensor(x, name="x") 208 zero = ops.convert_to_tensor(0, dtype=dtype.real_dtype) 255 return ops.convert_to_tensor(shape, dtype=dtype, name=name) 317 batch_matrices[i] = ops.convert_to_tensor(mat) 360 matrix = ops.convert_to_tensor(matrix, name="matrix") 361 rhs = ops.convert_to_tensor(rhs, name="rhs", dtype=matrix.dtype)
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | parse_example_dataset_test.py | 134 ops.convert_to_tensor(["", ""]), { 197 ops.convert_to_tensor(serialized), 209 ops.convert_to_tensor(serialized), 248 ops.convert_to_tensor(serialized), { 287 ops.convert_to_tensor(serialized), 324 ops.convert_to_tensor(serialized), { 372 ops.convert_to_tensor(serialized), { 407 ops.convert_to_tensor(serialized), { 455 ops.convert_to_tensor(serialized), { 481 ops.convert_to_tensor(serialized), { [all …]
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | compile_utils_test.py | 50 sw = ops.convert_to_tensor([0, 0, 0, 0, 0, 1, 1, 1, 1, 1]) 83 sw = ops.convert_to_tensor([0, 0, 0, 0, 0, 1, 1, 1, 1, 1]) 109 sw = ops.convert_to_tensor([0, 0, 0, 0, 0, 1, 1, 1, 1, 1]) 132 sw = ops.convert_to_tensor([0, 0, 0, 0, 0, 1, 1, 1, 1, 1]) 167 sw = ops.convert_to_tensor([0, 0, 0, 0, 0, 1, 1, 1, 1, 1]) 190 sw = ops.convert_to_tensor([0, 0, 0, 0, 0, 1, 1, 1, 1, 1]) 242 sw = ops.convert_to_tensor([0, 0, 0, 0, 0, 1, 1, 1, 1, 1]) 277 sw = ops.convert_to_tensor([0, 0, 0, 0, 0, 1, 1, 1, 1, 1]) 302 sw = ops.convert_to_tensor([0, 0, 0, 0, 0, 1, 1, 1, 1, 1]) 319 sw = ops.convert_to_tensor([0, 0, 0, 0, 0, 1, 1, 1, 1, 1]) [all …]
|