Home
last modified time | relevance | path

Searched refs:SparseTensorValue (Results 1 – 25 of 69) sorted by relevance

123

/external/tensorflow/tensorflow/python/data/kernel_tests/
Dfrom_tensor_slices_test.py59 components = (sparse_tensor.SparseTensorValue(
63 sparse_tensor.SparseTensorValue(
75 (sparse_tensor.SparseTensorValue(
79 sparse_tensor.SparseTensorValue(
83 (sparse_tensor.SparseTensorValue(
87 sparse_tensor.SparseTensorValue(
91 (sparse_tensor.SparseTensorValue(
95 sparse_tensor.SparseTensorValue(
107 sparse_tensor.SparseTensorValue(
111 sparse_tensor.SparseTensorValue(
[all …]
Dbatch_test.py102 return sparse_tensor.SparseTensorValue(
107 sparse_tensor.SparseTensorValue(
117 return sparse_tensor.SparseTensorValue(
133 sparse_tensor.SparseTensorValue(
142 return sparse_tensor.SparseTensorValue(
147 sparse_tensor.SparseTensorValue(
Dwindow_test.py128 return sparse_tensor.SparseTensorValue(
137 sparse_tensor.SparseTensorValue(
147 return sparse_tensor.SparseTensorValue(
167 sparse_tensor.SparseTensorValue(
176 return sparse_tensor.SparseTensorValue(
186 sparse_tensor.SparseTensorValue(
192 sparse_tensor.SparseTensorValue(
Dfrom_sparse_tensor_slices_test.py51 sparse_feed = sparse_tensor.SparseTensorValue(indices, values,
68 sparse_feed = sparse_tensor.SparseTensorValue(
77 sparse_feed = sparse_tensor.SparseTensorValue(empty_indices, empty_values,
Doptional_test.py62 st_0 = sparse_tensor.SparseTensorValue(
66 st_1 = sparse_tensor.SparseTensorValue(
246 elif isinstance(expected, sparse_tensor.SparseTensorValue):
310 ("SparseTensor", sparse_tensor.SparseTensorValue(
317 "b": sparse_tensor.SparseTensorValue(
Dfrom_tensors_test.py56 components = (sparse_tensor.SparseTensorValue(
60 sparse_tensor.SparseTensorValue(
75 sparse_tensor.SparseTensorValue(
79 sparse_tensor.SparseTensorValue(
Dreduce_test.py94 return sparse_tensor.SparseTensorValue(
112 return sparse_tensor.SparseTensorValue(
/external/tensorflow/tensorflow/contrib/feature_column/python/feature_column/
Dsequence_feature_column_test.py88 sparse_input_a = sparse_tensor.SparseTensorValue(**sparse_input_args_a)
89 sparse_input_b = sparse_tensor.SparseTensorValue(**sparse_input_args_b)
147 sparse_input = sparse_tensor.SparseTensorValue(
168 sparse_input_a = sparse_tensor.SparseTensorValue(
174 sparse_input_b = sparse_tensor.SparseTensorValue(
236 sparse_input_a = sparse_tensor.SparseTensorValue(
242 sparse_input_b = sparse_tensor.SparseTensorValue(
312 sparse_input_a = sparse_tensor.SparseTensorValue(**sparse_input_args_a)
313 sparse_input_b = sparse_tensor.SparseTensorValue(**sparse_input_args_b)
340 sparse_input = sparse_tensor.SparseTensorValue(
[all …]
/external/tensorflow/tensorflow/python/feature_column/
Dsequence_feature_column_test.py91 sparse_input_a = sparse_tensor.SparseTensorValue(**sparse_input_args_a)
92 sparse_input_b = sparse_tensor.SparseTensorValue(**sparse_input_args_b)
149 sparse_input = sparse_tensor.SparseTensorValue(
172 sparse_input_a = sparse_tensor.SparseTensorValue(
178 sparse_input_b = sparse_tensor.SparseTensorValue(
240 sparse_input_a = sparse_tensor.SparseTensorValue(
246 sparse_input_b = sparse_tensor.SparseTensorValue(
314 sparse_input_a = sparse_tensor.SparseTensorValue(**sparse_input_args_a)
315 sparse_input_b = sparse_tensor.SparseTensorValue(**sparse_input_args_b)
340 sparse_input = sparse_tensor.SparseTensorValue(
[all …]
Dfeature_column_test.py738 sparse_tensor.SparseTensorValue(
873 wire_column.name: sparse_tensor.SparseTensorValue(
897 sparse_tensor.SparseTensorValue(
1535 wire_value = sparse_tensor.SparseTensorValue(
1945 body_style_data = sparse_tensor.SparseTensorValue(
2224 wire_value = sparse_tensor.SparseTensorValue(
2588 body_style_data = sparse_tensor.SparseTensorValue(
3224 body_style_data = sparse_tensor.SparseTensorValue(
3437 inputs = sparse_tensor.SparseTensorValue(
3464 inputs = sparse_tensor.SparseTensorValue(
[all …]
Dfeature_column_v2_test.py905 sparse_tensor.SparseTensorValue(
1030 sparse_tensor.SparseTensorValue(
1054 sparse_tensor.SparseTensorValue(
1807 wire_value = sparse_tensor.SparseTensorValue(
2229 body_style_data = sparse_tensor.SparseTensorValue(
2538 wire_value = sparse_tensor.SparseTensorValue(
2953 body_style_data = sparse_tensor.SparseTensorValue(
3754 body_style_data = sparse_tensor.SparseTensorValue(
4329 body_style_data = sparse_tensor.SparseTensorValue(
4573 inputs = sparse_tensor.SparseTensorValue(
[all …]
/external/tensorflow/tensorflow/python/framework/
Dsparse_tensor.py224 return SparseTensorValue(indices, values, dense_shape)
255 SparseTensorValue = collections.namedtuple( variable
257 tf_export(v1=["SparseTensorValue"])(SparseTensorValue)
258 pywrap_tensorflow.RegisterType("SparseTensorValue", SparseTensorValue)
280 if isinstance(value, SparseTensorValue):
303 return isinstance(x, (SparseTensor, SparseTensorValue))
Dsparse_tensor_test.py38 sp_value = sparse_tensor.SparseTensorValue(indices, values, shape)
67 sparse_tensor.SparseTensorValue([[0]], [0], [1])))
98 sparse_tensor_value = sparse_tensor.SparseTensorValue(
/external/tensorflow/tensorflow/contrib/layers/python/ops/
Dsparse_ops_test.py211 _assert_sparse_tensor_value(self, sparse_tensor.SparseTensorValue(
224 _assert_sparse_tensor_value(self, sparse_tensor.SparseTensorValue(
239 _assert_sparse_tensor_value(self, sparse_tensor.SparseTensorValue(
259 _assert_sparse_tensor_value(self, sparse_tensor.SparseTensorValue(
273 _assert_sparse_tensor_value(self, sparse_tensor.SparseTensorValue(
286 _assert_sparse_tensor_value(self, sparse_tensor.SparseTensorValue(
300 _assert_sparse_tensor_value(self, sparse_tensor.SparseTensorValue(
315 _assert_sparse_tensor_value(self, sparse_tensor.SparseTensorValue(
329 _assert_sparse_tensor_value(self, sparse_tensor.SparseTensorValue(
/external/tensorflow/tensorflow/contrib/training/python/training/
Dbatch_sequences_with_states_test.py77 self.sp_tensor3_expected = sparse_tensor.SparseTensorValue(
286 expected_seq3_batch1 = sparse_tensor.SparseTensorValue(
288 expected_seq3_batch2 = sparse_tensor.SparseTensorValue(
290 expected_seq4_batch1 = sparse_tensor.SparseTensorValue(
292 expected_seq4_batch2 = sparse_tensor.SparseTensorValue(
434 expected_seq3_batch1 = sparse_tensor.SparseTensorValue(
436 expected_seq3_batch2 = sparse_tensor.SparseTensorValue(
438 expected_seq4_batch1 = sparse_tensor.SparseTensorValue(
440 expected_seq4_batch2 = sparse_tensor.SparseTensorValue(
485 expected_seq3_batch1 = sparse_tensor.SparseTensorValue(
[all …]
/external/tensorflow/tensorflow/contrib/data/python/kernel_tests/
Dslide_dataset_op_test.py206 return sparse_tensor.SparseTensorValue(
220 expected = sparse_tensor.SparseTensorValue(
232 return sparse_tensor.SparseTensorValue(
255 expected = sparse_tensor.SparseTensorValue(
267 return sparse_tensor.SparseTensorValue(
281 expected = sparse_tensor.SparseTensorValue(
291 expected = sparse_tensor.SparseTensorValue(
/external/tensorflow/tensorflow/contrib/eager/python/
Ddatasets_test.py138 components = (sparse_tensor.SparseTensorValue(
142 sparse_tensor.SparseTensorValue(
148 (sparse_tensor.SparseTensorValue(
152 sparse_tensor.SparseTensorValue(
156 (sparse_tensor.SparseTensorValue(
160 sparse_tensor.SparseTensorValue(
164 (sparse_tensor.SparseTensorValue(
168 sparse_tensor.SparseTensorValue(
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-sparse-tensor-value.pbtxt1 path: "tensorflow.SparseTensorValue"
3 is_instance: "<class \'tensorflow.python.framework.sparse_tensor.SparseTensorValue\'>"
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dparse_example_dataset_test.py122 expected_st_a = sparse_tensor.SparseTensorValue( # indices, values, shape
232 expected_st_c = sparse_tensor.SparseTensorValue( # indices, values, shape
237 expected_st_d = sparse_tensor.SparseTensorValue( # indices, values, shape
277 expected_sp = sparse_tensor.SparseTensorValue( # indices, values, shape
305 expected_sp1 = sparse_tensor.SparseTensorValue( # indices, values, shape
310 expected_sp2 = sparse_tensor.SparseTensorValue( # indices, values, shape
356 expected_sp = sparse_tensor.SparseTensorValue(
521 expected_st_a = sparse_tensor.SparseTensorValue( # indices, values, shape
525 expected_sp = sparse_tensor.SparseTensorValue( # indices, values, shape
576 expected_idx = sparse_tensor.SparseTensorValue( # indices, values, shape
[all …]
Dunbatch_test.py72 st = sparse_tensor.SparseTensorValue(
81 sparse_tensor.SparseTensorValue([[i]], [i], [10]) for i in range(10)
86 st = sparse_tensor.SparseTensorValue(
94 expected_output = [(i, sparse_tensor.SparseTensorValue([[i]], [i], [10]))
Dmap_defun_op_test.py288 expected = sparse_tensor.SparseTensorValue(
309 expected = sparse_tensor.SparseTensorValue(
330 expected = sparse_tensor.SparseTensorValue(
/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_tensors_map_ops_test.py61 return sparse_tensor_lib.SparseTensorValue(ind, val, shape)
72 return sparse_tensor_lib.SparseTensorValue(ind, val, shape)
78 return sparse_tensor_lib.SparseTensorValue(ind, val, shape)
Dedit_distance_op_test.py74 hypothesis_st=sparse_tensor.SparseTensorValue(
76 truth_st=sparse_tensor.SparseTensorValue(
Dsparse_ops_test.py123 indices = sparse_tensor.SparseTensorValue(
126 values = sparse_tensor.SparseTensorValue(
238 indices0 = sparse_tensor.SparseTensorValue(
241 indices1 = sparse_tensor.SparseTensorValue(
244 values = sparse_tensor.SparseTensorValue(
293 return sparse_tensor.SparseTensorValue(
354 return sparse_tensor.SparseTensorValue(self._IND_2_5_6, self._VAL_2_5_6,
479 return sparse_tensor.SparseTensorValue(
527 sp_input = sparse_tensor.SparseTensorValue(
Dsparse_reshape_op_test.py45 return sparse_tensor.SparseTensorValue(ind, val, shape)
52 return sparse_tensor.SparseTensorValue(ind, val, shape)
309 input_val = sparse_tensor.SparseTensorValue(orig_indices, orig_values,

123