/external/tensorflow/tensorflow/python/ops/ |
embedding_ops.py | 332 sp_ids, 341 represented by sp_ids (i.e. there are no rows with empty features), and that 342 all the indices of sp_ids are in canonical row-major order. 353 sp_ids: N x M SparseTensor of int64 ids (typically from FeatureValueToId), 357 must have exactly the same shape and indices as sp_ids. 373 sparse ids. For each row in the dense tensor represented by sp_ids, the op 383 shape(sp_ids) = shape(sp_weights) = [d0, d1, ..., dn] 389 For instance, if params is a 10x20 matrix, and sp_ids / sp_weights are 403 TypeError: If sp_ids is not a SparseTensor, or if sp_weights is neither 417 if not isinstance(sp_ids, sparse_tensor.SparseTensor) [all...] |
sparse_ops.py | [all...] |
parsing_ops.py | 329 sp_ids = tensor_dict[feature.index_key] 331 sp_ids = [tensor_dict[index_key] for index_key in feature.index_key] 334 sp_ids, [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/ |
lookup_ops_test.py | [all...] |
embedding_ops_test.py | 630 sp_ids = sparse_tensor.SparseTensor( 639 return sp_ids, sp_weights, ids, weights, vals_per_batch_entry 655 sp_ids, sp_weights, ids, weights, vals_per_batch_entry = ( 672 sp_ids, 699 sp_ids, sp_weights, _, _, _ = (self._RandomIdsAndWeights( 711 sp_ids, 725 sp_ids = sparse_tensor.SparseTensor( 736 x, sp_ids, sp_weights, combiner="mean") [all...] |
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
embedding_ops.py | 568 sp_ids, 586 sp_ids: N x M SparseTensor of int64 ids (typically from FeatureValueToId), 590 must have exactly the same shape and indices as sp_ids. 606 sparse ids. For each row in the dense tensor represented by sp_ids, the op 611 TypeError: If sp_ids is not a SparseTensor, or if sp_weights is neither 625 if not isinstance(sp_ids, sparse_tensor.SparseTensor): 626 raise TypeError("sp_ids must be SparseTensor") 631 sp_ids.values.get_shape().assert_is_compatible_with( 633 sp_ids.indices.get_shape().assert_is_compatible_with( 635 sp_ids.dense_shape.get_shape().assert_is_compatible_with [all...] |
embedding_ops_test.py | 675 sp_ids = sparse_tensor_lib.SparseTensor( 684 return sp_ids, sp_weights, ids, weights, vals_per_batch_entry 700 sp_ids, sp_weights, ids, weights, vals_per_batch_entry = ( 718 sp_ids, 745 sp_ids, sp_weights, _, _, _ = (self._RandomIdsAndWeights( 757 sp_ids, 771 sp_ids = sparse_tensor_lib.SparseTensor( 782 x, sp_ids, sp_weights, combiner="mean")
|
feature_column.py | [all...] |
/external/tensorflow/tensorflow/contrib/lookup/ |
lookup_ops_test.py | [all...] |
/external/tensorflow/tensorflow/python/feature_column/ |
feature_column.py | [all...] |