Home
last modified time | relevance | path

Searched refs:sparse_tensor_lib (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dembedding_ops_test.py33 from tensorflow.python.framework import sparse_tensor as sparse_tensor_lib unknown
77 sparse_ids = sparse_tensor_lib.SparseTensor(
82 sparse_weights = sparse_tensor_lib.SparseTensor(
103 sparse_ids = sparse_tensor_lib.SparseTensor(
108 sparse_weights = sparse_tensor_lib.SparseTensor(
346 sparse_tensor = sparse_tensor_lib.SparseTensor(
484 sp_values = sparse_tensor_lib.SparseTensor(
498 sp_values = sparse_tensor_lib.SparseTensor(
512 sp_values = sparse_tensor_lib.SparseTensor(
537 sp_values = sparse_tensor_lib.SparseTensor(
[all …]
Dfeature_column_test.py33 from tensorflow.python.framework import sparse_tensor as sparse_tensor_lib unknown
56 return sparse_tensor_lib.SparseTensor(
77 return (sparse_tensor_lib.SparseTensor(
79 sparse_tensor_lib.SparseTensor(
192 input_tensor_c1 = sparse_tensor_lib.SparseTensor(
195 input_tensor_c2 = sparse_tensor_lib.SparseTensor(
618 sparse_tensor = sparse_tensor_lib.SparseTensor(
1067 sparse_tensor_lib.SparseTensor))
1070 sparse_tensor_lib.SparseTensor))
1092 input_tensor = sparse_tensor_lib.SparseTensor(
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_tensors_map_ops_test.py26 from tensorflow.python.framework import sparse_tensor as sparse_tensor_lib unknown
48 return sparse_tensor_lib.SparseTensor(
61 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)
208 st = sparse_tensor_lib.SparseTensor(indices, values, shape)
Dsets_test.py26 from tensorflow.python.framework import sparse_tensor as sparse_tensor_lib unknown
65 return sparse_tensor_lib.SparseTensor(
130 sp = sparse_tensor_lib.SparseTensor(
321 sp_a = sparse_tensor_lib.SparseTensor(
339 sp_b = sparse_tensor_lib.SparseTensor(
465 if isinstance(input_tensor, sparse_tensor_lib.SparseTensor):
811 sp_a = sparse_tensor_lib.SparseTensor(
829 sp_b = sparse_tensor_lib.SparseTensor(
1107 sp_a = sparse_tensor_lib.SparseTensor(
1125 sp_b = sparse_tensor_lib.SparseTensor(
Dsparse_serialization_ops_test.py24 from tensorflow.python.framework import sparse_tensor as sparse_tensor_lib unknown
36 return sparse_tensor_lib.SparseTensor(
49 return sparse_tensor_lib.SparseTensorValue(ind, val, shape)
60 return sparse_tensor_lib.SparseTensorValue(ind, val, shape)
66 return sparse_tensor_lib.SparseTensorValue(ind, val, shape)
/external/tensorflow/tensorflow/python/data/util/
Dstructure.py27 from tensorflow.python.framework import sparse_tensor as sparse_tensor_lib unknown
204 (sparse_tensor_lib.SparseTensor, sparse_tensor_lib.SparseTensorValue)):
279 elif issubclass(flat_class, sparse_tensor_lib.SparseTensor):
551 sparse_tensor = sparse_tensor_lib.SparseTensor.from_value(value)
563 return sparse_tensor_lib.SparseTensor
/external/tensorflow/tensorflow/python/feature_column/
Dfeature_column.py145 from tensorflow.python.framework import sparse_tensor as sparse_tensor_lib unknown
2134 feature_tensor = sparse_tensor_lib.convert_to_tensor_or_sparse_tensor(
2139 if isinstance(input_tensor, sparse_tensor_lib.SparseTensor):
2196 input_tensor = sparse_tensor_lib.convert_to_tensor_or_sparse_tensor(
2198 if isinstance(input_tensor, sparse_tensor_lib.SparseTensor):
2216 return sparse_tensor_lib.SparseTensor(
2289 if isinstance(input_tensor, sparse_tensor_lib.SparseTensor):
2386 sparse_tensor = sparse_tensor_lib.SparseTensor(
2666 if not isinstance(input_tensor, sparse_tensor_lib.SparseTensor):
2686 return sparse_tensor_lib.SparseTensor(
[all …]
Dfeature_column_v2.py143 from tensorflow.python.framework import sparse_tensor as sparse_tensor_lib unknown
2587 feature_tensor = sparse_tensor_lib.convert_to_tensor_or_sparse_tensor(
2592 if isinstance(input_tensor, sparse_tensor_lib.SparseTensor):
2636 input_tensor = sparse_tensor_lib.convert_to_tensor_or_sparse_tensor(
2638 if isinstance(input_tensor, sparse_tensor_lib.SparseTensor):
2656 return sparse_tensor_lib.SparseTensor(
2741 if isinstance(input_tensor, sparse_tensor_lib.SparseTensor):
2942 sparse_tensor = sparse_tensor_lib.SparseTensor(
3440 if not isinstance(input_tensor, sparse_tensor_lib.SparseTensor):
3460 return sparse_tensor_lib.SparseTensor(
[all …]
/external/tensorflow/tensorflow/python/data/ops/
Ddataset_ops.py49 from tensorflow.python.framework import sparse_tensor as sparse_tensor_lib unknown
1268 sparse_tensor_lib.SparseTensor.from_value(t)
1269 if sparse_tensor_lib.is_sparse(t) else ops.convert_to_tensor(
2069 sparse_tensor_lib.SparseTensor.from_value(t)
2070 if sparse_tensor_lib.is_sparse(t) else ops.convert_to_tensor(
2093 sparse_tensor_lib.SparseTensor.from_value(t)
2094 if sparse_tensor_lib.is_sparse(t) else ops.convert_to_tensor(
2125 if not isinstance(sparse_tensor, sparse_tensor_lib.SparseTensor):