Searched refs:id_weight_pair (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/contrib/feature_column/python/feature_column/ |
D | sequence_feature_column_test.py | 698 id_weight_pair = column._get_sparse_tensors(_LazyBuilder({'aaa': inputs})) 700 self.assertIsNone(id_weight_pair.weight_tensor) 703 self, expected, id_weight_pair.id_tensor.eval(session=sess)) 737 id_weight_pair = column._get_sparse_tensors(_LazyBuilder({'aaa': inputs})) 739 self.assertIsNone(id_weight_pair.weight_tensor) 742 self, expected, id_weight_pair.id_tensor.eval(session=sess)) 790 id_weight_pair = column._get_sparse_tensors(_LazyBuilder({'aaa': inputs})) 792 self.assertIsNone(id_weight_pair.weight_tensor) 795 self, expected, id_weight_pair.id_tensor.eval(session=sess)) 814 id_weight_pair = column._get_sparse_tensors( [all …]
|
/external/tensorflow/tensorflow/python/feature_column/ |
D | sequence_feature_column_test.py | 746 id_weight_pair = _get_sparse_tensors(column, {'aaa': inputs}) 748 self.assertIsNone(id_weight_pair.weight_tensor) 750 self, expected, self.evaluate(id_weight_pair.id_tensor)) 785 id_weight_pair = _get_sparse_tensors(column, {'aaa': inputs}) 787 self.assertIsNone(id_weight_pair.weight_tensor) 789 self, expected, self.evaluate(id_weight_pair.id_tensor)) 838 id_weight_pair = _get_sparse_tensors(column, {'aaa': inputs}) 840 self.assertIsNone(id_weight_pair.weight_tensor) 844 self, expected, self.evaluate(id_weight_pair.id_tensor)) 864 id_weight_pair = _get_sparse_tensors(column, {'aaa': input_placeholder}) [all …]
|
D | feature_column_test.py | 509 id_weight_pair = bucketized_price._get_sparse_tensors(builder) 510 self.assertIsNone(id_weight_pair.weight_tensor) 511 id_tensor_value = sess.run(id_weight_pair.id_tensor) 524 id_weight_pair = bucketized_price._get_sparse_tensors(builder) 525 self.assertIsNone(id_weight_pair.weight_tensor) 526 id_tensor_value = sess.run(id_weight_pair.id_tensor) 840 id_weight_pair = hashed_sparse._get_sparse_tensors(builder) 841 self.assertIsNone(id_weight_pair.weight_tensor) 842 self.assertEqual(builder.get(hashed_sparse), id_weight_pair.id_tensor) 863 id_weight_pair = hashed_sparse._get_sparse_tensors(builder) [all …]
|
D | feature_column_v2_test.py | 614 id_weight_pair = bucketized_price.get_sparse_tensors( 616 self.assertIsNone(id_weight_pair.weight_tensor) 617 id_tensor_value = sess.run(id_weight_pair.id_tensor) 632 id_weight_pair = bucketized_price.get_sparse_tensors( 634 self.assertIsNone(id_weight_pair.weight_tensor) 635 id_tensor_value = sess.run(id_weight_pair.id_tensor) 1004 id_weight_pair = hashed_sparse.get_sparse_tensors(transformation_cache, 1006 self.assertIsNone(id_weight_pair.weight_tensor) 1008 transformation_cache.get(hashed_sparse, None), id_weight_pair.id_tensor) 1016 id_weight_pair = hashed_sparse.get_sparse_tensors(transformation_cache, [all …]
|
D | feature_column_v2.py | 4182 def _transform_id_weight_pair(self, id_weight_pair): argument 4183 id_tensor = id_weight_pair.id_tensor 4184 weight_tensor = id_weight_pair.weight_tensor 4230 id_weight_pair = self.categorical_column.get_sparse_tensors( 4232 return self._transform_id_weight_pair(id_weight_pair) 4237 …id_weight_pair = self.categorical_column._get_sparse_tensors(inputs) # pylint: disable=protected-… 4238 return self._transform_id_weight_pair(id_weight_pair)
|
D | feature_column.py | 3016 …id_weight_pair = self.categorical_column._get_sparse_tensors(inputs) # pylint: disable=protected-… 3017 id_tensor = id_weight_pair.id_tensor 3018 weight_tensor = id_weight_pair.weight_tensor
|