Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/framework/
Dsparse_tensor.py107 def from_value(cls, sparse_tensor_value): argument
108 if not is_sparse(sparse_tensor_value):
110 sparse_tensor_value)
112 indices=sparse_tensor_value.indices,
113 values=sparse_tensor_value.values,
114 dense_shape=sparse_tensor_value.dense_shape)
Dsparse_tensor_test.py125 sparse_tensor_value = sparse_tensor.SparseTensorValue(
127 st = sparse_tensor.SparseTensor.from_value(sparse_tensor_value)
129 sparse_tensor.convert_to_tensor_or_sparse_tensor(sparse_tensor_value))
133 self.assertAllEqual(sparse_tensor_value.indices, convertee.indices)
134 self.assertAllEqual(sparse_tensor_value.values, convertee.values)
136 sparse_tensor_value.dense_shape, convertee.dense_shape)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-sparse-tensor.pbtxt49 argspec: "args=[\'cls\', \'sparse_tensor_value\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.sparse.-sparse-tensor.pbtxt49 argspec: "args=[\'cls\', \'sparse_tensor_value\'], varargs=None, keywords=None, defaults=None"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.sparse.-sparse-tensor.pbtxt49 argspec: "args=[\'cls\', \'sparse_tensor_value\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.-sparse-tensor.pbtxt49 argspec: "args=[\'cls\', \'sparse_tensor_value\'], varargs=None, keywords=None, defaults=None"
/external/tensorflow/tensorflow/python/kernel_tests/
Dsets_test.py1243 expected_shape, sparse_tensor_value, dtype): argument
1244 self.assertAllEqual(expected_indices, sparse_tensor_value.indices)
1246 self.assertAllEqual(len(expected_values), len(sparse_tensor_value.values))
1251 expected_indices, expected_values, sparse_tensor_value.values):
1266 self.assertAllEqual(expected_shape, sparse_tensor_value.dense_shape)