OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ignore_value
(Results
1 - 5
of
5
) sorted by null
/external/tensorflow/tensorflow/contrib/layers/python/ops/
sparse_ops.py
41
def _ignore_value_tensor(dtype,
ignore_value
=None):
42
"""Create `Tensor` from provided `
ignore_value
` and `dtype`."""
43
if
ignore_value
is None:
46
ignore_value
= ""
51
ignore_value
= dtype.as_numpy_dtype()
52
return math_ops.cast(
ignore_value
, dtype, name="
ignore_value
")
55
def dense_to_sparse_tensor(dense_tensor,
ignore_value
=None):
56
"""Converts dense `Tensor` to `SparseTensor`, dropping `
ignore_value
` cells.
60
ignore_value
: Entries in `dense_tensor` equal to this value will b
[
all
...]
sparse_ops_test.py
91
[b'qwe', b'', b'ewq', b''],
ignore_value
=b'qwe')
271
indicators,
ignore_value
=-1)
298
indicators,
ignore_value
='x')
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/
sdca_optimizer.py
110
ignore_value
= 0.0
113
math_ops.cast(
ignore_value
, dense_tensor.dtype)))
/external/tensorflow/tensorflow/python/feature_column/
feature_column.py
[
all
...]
/external/tensorflow/tensorflow/contrib/layers/python/layers/
feature_column.py
446
# we set
ignore_value
to -1 for numeric tensors to avoid excluding valid
449
ignore_value
= ""
451
ignore_value
= -1
454
input_tensor,
ignore_value
=
ignore_value
)
[
all
...]
Completed in 620 milliseconds