Home
last modified time | relevance | path

Searched refs:from_dense (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/python/ops/
Dbincount_ops_test.py355 x_sparse = sparse_ops.from_dense(x)
356 w_sparse = sparse_ops.from_dense(weights) if weights is not None else None
603 inp_sparse = sparse_ops.from_dense(inp)
631 inp_sparse = sparse_ops.from_dense(inp)
751 weights = sparse_ops.from_dense(
777 x = sparse_ops.from_dense(
784 x = sparse_ops.from_dense(
791 x = sparse_ops.from_dense(
793 weights = sparse_ops.from_dense(
800 x = sparse_ops.from_dense(
[all …]
Dsparse_ops_test.py65 sparse = sparse_ops.from_dense(tensor)
191 sp = sparse_ops.from_dense([[0.0, 1.0, 0.0], [-2.0, 1.0, 0.0]])
202 expected = sparse_ops.from_dense([[0.0, 1.0, 0.0], [2.0, 1.0, 0.0]])
213 expected = sparse_ops.from_dense([[0.0, 2.0, 0.0], [-4.0, 2.0, 0.0]])
218 sp_incomp = sparse_ops.from_dense([[0.0, 1.0, 0.0], [-2.0, 0.0, 1.0]])
232 sparse = sparse_ops.from_dense(tensor)
Dsparse_ops.py108 def from_dense(tensor, name=None): function
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/
Dcategory_encoding_test.py85 sparse_tensor_data = sparse_ops.from_dense(input_array)
108 sparse_tensor_data = sparse_ops.from_dense(input_array)
109 sparse_weight_data = sparse_ops.from_dense(weights_array)
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_print_op_test.py84 sparse_ops.from_dense([[1]])
/external/tensorflow/tensorflow/python/keras/engine/
Dbase_layer_utils_test.py133 input_data = sparse_ops.from_dense(
Dbase_preprocessing_layer_test.py442 "inputs": lambda: sparse_ops.from_dense([[1, 2, 0, 4], [4, 5, 6, 0]]),
/external/tensorflow/tensorflow/python/keras/saving/saved_model/
Drevive_test.py217 input_arr = sparse_ops.from_dense(input_arr)
326 x = sparse_ops.from_dense(np.ones((10, 2, 3), dtype=np.float32))
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.sparse.pbtxt40 name: "from_dense"
/external/tensorflow/tensorflow/python/keras/utils/
Dtf_utils_test.py215 sparse_ops.from_dense([[1, 2], [3, 4]])))
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.sparse.pbtxt44 name: "from_dense"
/external/tensorflow/tensorflow/python/kernel_tests/
Dbincount_op_test.py458 inp_sparse = sparse_ops.from_dense(inp)
490 inp_sparse = sparse_ops.from_dense(inp)
/external/tensorflow/
DRELEASE.md1691 * Added `tf.sparse.from_dense` utility function.
2137 * Added `tf.sparse.from_dense` utility function.