Searched refs:ignore_value (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/contrib/layers/python/ops/ |
D | sparse_ops.py | 41 def _ignore_value_tensor(dtype, ignore_value=None): argument 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): argument 72 ignore_value = _ignore_value_tensor(dense_tensor.dtype, ignore_value) 74 math_ops.not_equal(dense_tensor, ignore_value), name="indices") 82 def indicators_to_sparse_ids(indicators, ignore_value=None, dtype=dtypes.int64): argument 145 None, "indicators_to_sparse_ids", (indicators, ignore_value)): [all …]
|
D | 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/ |
D | sdca_optimizer.py | 124 ignore_value = 0.0 127 math_ops.cast(ignore_value, dense_tensor.dtype)))
|
/external/tensorflow/tensorflow/python/feature_column/ |
D | feature_column.py | 2179 def _to_sparse_input_and_drop_ignore_values(input_tensor, ignore_value=None): argument 2200 with ops.name_scope(None, 'to_sparse_input', (input_tensor, ignore_value,)): 2201 if ignore_value is None: 2204 ignore_value = '' 2206 ignore_value = -1 # -1 has a special meaning of missing feature 2211 ignore_value = input_tensor.dtype.as_numpy_dtype() 2212 ignore_value = math_ops.cast( 2213 ignore_value, input_tensor.dtype, name='ignore_value') 2215 math_ops.not_equal(input_tensor, ignore_value), name='indices') 2903 weight_tensor, ignore_value=0.0)
|
D | feature_column_v2.py | 2619 def _to_sparse_input_and_drop_ignore_values(input_tensor, ignore_value=None): argument 2640 with ops.name_scope(None, 'to_sparse_input', (input_tensor, ignore_value,)): 2641 if ignore_value is None: 2644 ignore_value = '' 2646 ignore_value = -1 # -1 has a special meaning of missing feature 2651 ignore_value = input_tensor.dtype.as_numpy_dtype() 2652 ignore_value = math_ops.cast( 2653 ignore_value, input_tensor.dtype, name='ignore_value') 2655 math_ops.not_equal(input_tensor, ignore_value), name='indices') 3919 weight_tensor, ignore_value=0.0)
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
D | feature_column.py | 449 ignore_value = "" 451 ignore_value = -1 454 input_tensor, ignore_value=ignore_value)
|