Home
last modified time | relevance | path

Searched refs:sparse_id_column (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dfeature_column.py781 def __new__(cls, sparse_id_column, weight_column_name, dtype): argument
782 return super(_WeightedSparseColumn, cls).__new__(cls, sparse_id_column,
787 return "{}_weighted_by_{}".format(self.sparse_id_column.name,
793 return self.sparse_id_column.length
797 config = _get_feature_config(self.sparse_id_column)
804 return self.sparse_id_column.lookup_config
836 combiner=self.sparse_id_column.combiner)
848 if self.sparse_id_column not in columns_to_tensors:
849 self.sparse_id_column.insert_transformed_feature(columns_to_tensors)
853 columns_to_tensors[self.sparse_id_column], weight_tensor)
[all …]
Dfeature_column_test.py142 self.assertEqual(weighted_copy.sparse_id_column.name, "ids")
150 self.assertEqual(b.sparse_id_column.name, "aaa")
160 self.assertEqual(column_copy.sparse_id_column.name, "aaa")
319 self.assertEqual(onehot_a.sparse_id_column.name, "a")
325 self.assertEqual(onehot_b.sparse_id_column.name, "b")
352 self.assertEqual(one_hot.sparse_id_column.name, "ids_weighted_by_weights")
360 self.assertEqual(one_hot.sparse_id_column.name, "ids_weighted_by_weights")
463 self.assertEqual(column_copy.sparse_id_column.name, "a")
1119 sparse_id_column=sparse_col,
Dfeature_column_ops.py891 return (feature_column.sparse_id_column,)
Dfeature_column_ops_test.py1927 sparse_id_column=language, weight_column_name="age")
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/
Dstructural_ensemble_test.py106 one_hot_a = layers.one_hot_column(sparse_id_column=sparse_column_a)