HomeSort by relevance Sort by last modified time
    Searched refs:constant_op (Results 126 - 150 of 623) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/tensorflow/tensorflow/python/kernel_tests/
conv3d_transpose_test.py 24 from tensorflow.python.framework import constant_op
45 x = constant_op.constant(
47 f = constant_op.constant(
95 x = constant_op.constant(
97 f = constant_op.constant(
133 x = constant_op.constant(
135 f = constant_op.constant(
184 x = constant_op.constant(x_val, name="x", dtype=dtypes.float32)
185 f = constant_op.constant(f_val, name="f", dtype=dtypes.float32)
identity_op_py_test.py 23 from tensorflow.python.framework import constant_op
40 inp = constant_op.constant([10, 20, 30, 40, 50, 60], shape=[2, 3])
54 tensor = constant_op.constant(array_2x3)
65 constant_op.constant(
logging_ops_test.py 21 from tensorflow.python.framework import constant_op
64 inp = constant_op.constant(2.0, shape=[100, 32])
70 inp = constant_op.constant(2.0, shape=[100, 32], name="in")
71 w = constant_op.constant(4.0, shape=[10, 100], name="w")
sparse_concat_op_test.py 23 from tensorflow.python.framework import constant_op
81 constant_op.constant(ind, dtypes.int64),
82 constant_op.constant(val, dtypes.float32),
83 constant_op.constant(shape, dtypes.int64))
92 constant_op.constant(ind, dtypes.int64),
93 constant_op.constant(val, dtypes.float32),
94 constant_op.constant(shape, dtypes.int64))
106 constant_op.constant(ind, dtypes.int64),
107 constant_op.constant(val, dtypes.float32),
108 constant_op.constant(shape, dtypes.int64)
    [all...]
string_to_hash_bucket_op_test.py 20 from tensorflow.python.framework import constant_op
70 input_string = constant_op.constant(['a', 'b', 'c'])
77 input_string = constant_op.constant(['a', 'b', 'c'])
88 input_string = constant_op.constant(['a', 'b', 'c'])
slice_op_test.py 24 from tensorflow.python.framework import constant_op
38 a = constant_op.constant(inp, shape=[4, 4], dtype=dtypes.float32)
47 a = constant_op.constant(inp, shape=[4, 4], dtype=dtypes.int32)
54 a = constant_op.constant([0, 1, 2], dtype=dtypes.int64)
57 i = constant_op.constant(1, dtype=dtypes.int64)
78 a = constant_op.constant(inp, shape=[4, 4, 4, 4], dtype=dtypes.float32)
92 a = constant_op.constant(inp, shape=[10], dtype=dtypes.float32)
112 constant_op.constant(input_val)[:].get_shape()
126 constant_op.constant(input_val)[1:, 1:].get_shape()
153 a = constant_op.constant(inp, shape=[4, 4], dtype=dtypes.float32
    [all...]
conv2d_transpose_test.py 24 from tensorflow.python.framework import constant_op
49 x = constant_op.constant(
51 f = constant_op.constant(
87 x = constant_op.constant(
89 f = constant_op.constant(
120 x = constant_op.constant(
122 f = constant_op.constant(
166 x = constant_op.constant(x_val, name="x", dtype=dtypes.float32)
167 f = constant_op.constant(f_val, name="f", dtype=dtypes.float32)
189 x = constant_op.constant
    [all...]
betainc_op_test.py 25 from tensorflow.python.framework import constant_op
46 tf_a_s = constant_op.constant(a_s, dtype=dtype)
47 tf_b_s = constant_op.constant(b_s, dtype=dtype)
48 tf_x_s = constant_op.constant(x_s, dtype=dtype)
148 ga_s_t = constant_op.constant(ga_s, dtype=dtypes.float32)
149 gb_s_t = constant_op.constant(gb_s, dtype=dtypes.float32)
150 gx_s_t = constant_op.constant(gx_s, dtype=dtypes.float32)
169 tf_ga_s = constant_op.constant(ga_s, dtype=dtypes.float64)
170 tf_gb_s = constant_op.constant(gb_s, dtype=dtypes.float64)
171 tf_gx_s = constant_op.constant(gx_s, dtype=dtypes.float64
    [all...]
candidate_sampler_ops_test.py 23 from tensorflow.python.framework import constant_op
42 indices = constant_op.constant([0, 0, 1, 1, 2, 2])
43 true_candidates_vec = constant_op.constant([1, 2, 0, 4, 3, 3])
54 true_classes = constant_op.constant(
66 true_classes = constant_op.constant(
81 true_classes = constant_op.constant(
94 true_classes = constant_op.constant(
113 true_classes = constant_op.constant(
decode_png_op_test.py 21 from tensorflow.python.framework import constant_op
44 img_in = constant_op.constant(byte_string, dtype=dtypes.string)
denormal_test.py 24 from tensorflow.python.framework import constant_op
48 flush = 0.1 * constant_op.constant(tiny, shape=shape)
extract_image_patches_grad_test.py 23 from tensorflow.python.framework import constant_op
88 in_val = constant_op.constant(
gradient_correctness_test.py 23 from tensorflow.python.framework import constant_op
34 x = constant_op.constant(1.0, dtype=dtypes.float32)
scatter_nd_ops_test.py 26 from tensorflow.python.framework import constant_op
149 indices = constant_op.constant([[4], [3], [1], [7]], dtype=dtypes.int32)
150 updates = constant_op.constant([9, 10, 11, 12], dtype=dtypes.float32)
162 indices = constant_op.constant([[4], [3], [1], [7]], dtype=dtypes.int32)
163 updates = constant_op.constant([9, 10, 11, 12], dtype=dtypes.float32)
176 indices = constant_op.constant([[1, 0], [1, 1]], dtype=dtypes.int32)
177 updates = constant_op.constant([11., 12.], dtype=dtypes.float32)
190 indices = constant_op.constant([[1]], dtype=dtypes.int32)
191 updates = constant_op.constant([[11., 12.]], dtype=dtypes.float32)
318 indices = constant_op.constant([[0, 1]] * num_updates, dtype=dtypes.int32
    [all...]
  /external/tensorflow/tensorflow/python/kernel_tests/random/
multinomial_op_big_test.py 23 from tensorflow.python.framework import constant_op
38 constant_op.constant([[-30, 0]], dtype=dtypes.float32),
56 constant_op.constant([[0, -30]], dtype=dtypes.float32),
75 constant_op.constant([[0, -17]], dtype=dtypes.float32),
  /external/tensorflow/tensorflow/contrib/text/python/ops/
skip_gram_ops_test.py 26 from tensorflow.python.framework import constant_op
46 input_tensor = constant_op.constant(
72 input_tensor = constant_op.constant(
103 input_tensor = constant_op.constant([b"the", b"quick", b"brown"])
126 input_tensor = constant_op.constant([b"the", b"quick", b"brown"])
143 input_tensor = constant_op.constant(
159 input_tensor = constant_op.constant([b"foo", b"the", b"quick", b"brown"])
178 input_tensor = constant_op.constant(
217 input_tensor = constant_op.constant([str(x) for x in range(10)])
236 input_tensor = constant_op.constant([b"the", b"quick", b"brown", b"fox"]
    [all...]
  /external/tensorflow/tensorflow/python/kernel_tests/distributions/
laplace_test.py 25 from tensorflow.python.framework import constant_op
50 loc = constant_op.constant([3.0] * 5)
51 scale = constant_op.constant(11.0)
62 loc = constant_op.constant([2.0] * batch_size)
63 scale = constant_op.constant([3.0] * batch_size)
82 loc = constant_op.constant([[2.0, 4.0]] * batch_size)
83 scale = constant_op.constant([[3.0, 4.0]] * batch_size)
104 loc = constant_op.constant([[2.0, 4.0]] * batch_size)
105 scale = constant_op.constant(3.0)
126 loc = constant_op.constant([2.0] * batch_size
    [all...]
gamma_test.py 25 from tensorflow.python.framework import constant_op
52 alpha = constant_op.constant([3.0] * 5)
53 beta = constant_op.constant(11.0)
64 alpha = constant_op.constant([2.0] * batch_size)
65 beta = constant_op.constant([3.0] * batch_size)
83 alpha = constant_op.constant([[2.0, 4.0]] * batch_size)
84 beta = constant_op.constant([[3.0, 4.0]] * batch_size)
104 alpha = constant_op.constant([[2.0, 4.0]] * batch_size)
105 beta = constant_op.constant(3.0)
126 alpha = constant_op.constant([2.0] * batch_size
    [all...]
  /external/tensorflow/tensorflow/python/ops/
image_grad_test.py 23 from tensorflow.python.framework import constant_op
42 input_tensor = constant_op.constant(x, shape=in_shape)
58 input_tensor = constant_op.constant(x, shape=in_shape)
73 input_tensor = constant_op.constant(x, shape=in_shape)
88 input_tensor = constant_op.constant(x, shape=in_shape)
95 input_tensor = constant_op.constant(x, shape=in_shape)
112 input_tensor = constant_op.constant(x, shape=in_shape)
126 input_tensor = constant_op.constant(x, shape=in_shape)
139 input_tensor = constant_op.constant(x, shape=in_shape)
155 input_tensor = constant_op.constant(x, shape=in_shape
    [all...]
  /external/tensorflow/tensorflow/python/training/
adam_test.py 25 from tensorflow.python.framework import constant_op
75 constant_op.constant(grads0_np),
76 constant_op.constant(grads0_np_indices), constant_op.constant([2]))
79 constant_op.constant(grads1_np),
80 constant_op.constant(grads1_np_indices), constant_op.constant([2]))
116 indices = constant_op.constant([0, 1], dtype=index_dtype)
131 constant_op.constant(
133 constant_op.constant([1, 1])
    [all...]
  /external/tensorflow/tensorflow/contrib/boosted_trees/python/kernel_tests/
quantile_ops_test.py 29 from tensorflow.python.framework import constant_op
63 dense_float_tensor_0 = constant_op.constant(
65 sparse_indices_0 = constant_op.constant(
67 sparse_values_0 = constant_op.constant(
69 sparse_shape_0 = constant_op.constant([6, 1], dtype=dtypes.int64)
71 sparse_indices_m = constant_op.constant(
73 sparse_values_m = constant_op.constant(
75 sparse_shape_m = constant_op.constant([6, 2], dtype=dtypes.int64)
77 example_weights = constant_op.constant(
330 stamp_token=0, summary=constant_op.constant(summary))
    [all...]
  /external/tensorflow/tensorflow/compiler/tests/
conv3d_test.py 25 from tensorflow.python.framework import constant_op
44 in_val = constant_op.constant(
54 out_backprop_val = constant_op.constant(
82 x = constant_op.constant(
84 f = constant_op.constant(
132 x = constant_op.constant(
134 f = constant_op.constant(
170 x = constant_op.constant(
172 f = constant_op.constant(
221 x = constant_op.constant(x_val, name="x", dtype=dtypes.float32
    [all...]
  /external/tensorflow/tensorflow/contrib/image/python/kernel_tests/
single_image_random_dot_stereograms_ops_test.py 23 from tensorflow.python.framework import constant_op
41 x_tf = constant_op.constant(x_np)
  /external/tensorflow/tensorflow/contrib/kernel_methods/python/
kernel_estimators_test.py 27 from tensorflow.python.framework import constant_op
36 'feature1': constant_op.constant([[0.0], [1.0], [3.0]]),
37 'feature2': constant_op.constant([[1.0], [-1.2], [1.0]]),
38 }, constant_op.constant([[1], [0], [1]])
45 constant_op.constant([[1.0, 1.0], [1.0, -1.0], [-1.0, -1.0],
47 }, constant_op.constant([[1], [0], [1], [0]])
197 constant_op.constant([[0.4], [0.6], [0.3]]),
203 }, constant_op.constant([[1], [0], [1]])
  /external/tensorflow/tensorflow/contrib/solvers/python/kernel_tests/
util_test.py 23 from tensorflow.python.framework import constant_op
38 a = constant_op.constant(a_np, dtype=dtype)
39 x = constant_op.constant(x_np, dtype=dtype)
40 y = constant_op.constant(y_np, dtype=dtype)
73 a = constant_op.constant(a_np, dtype=dtype)
74 x = constant_op.constant(x_np, dtype=dtype)
75 y = constant_op.constant(y_np, dtype=dtype)
108 x = constant_op.constant(x_np)

Completed in 477 milliseconds

1 2 3 4 56 7 8 91011>>