Home
last modified time | relevance | path

Searched refs:source_column (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dfeature_column.py2048 def __new__(cls, source_column, boundaries): argument
2049 if not isinstance(source_column, _RealValuedColumn):
2051 "source_column: {}".format(source_column))
2053 if source_column.dimension is None:
2055 "source_column: {}".format(source_column))
2076 return super(_BucketizedColumn, cls).__new__(cls, source_column,
2081 return "{}_bucketized".format(self.source_column.name)
2090 return self.source_column.config
2111 name="one_hot"), [-1, self.length * self.source_column.dimension],
2116 dimension = self.source_column.dimension
[all …]
Dfeature_column_ops.py893 return (feature_column.source_column,)
/external/tensorflow/tensorflow/python/feature_column/
Dfeature_column_v2.py1339 def bucketized_column(source_column, boundaries): argument
1405 …if not isinstance(source_column, (NumericColumn, fc_old._NumericColumn)): # pylint: disable=prote…
1408 'Given: {}'.format(source_column))
1409 if len(source_column.shape) > 1:
1412 'Given: {}'.format(source_column))
1420 return BucketizedColumn(source_column, tuple(boundaries))
2842 return (isinstance(self.source_column, FeatureColumn) and
2843 self.source_column._is_v2_column) # pylint: disable=protected-access
2848 return '{}_bucketized'.format(self.source_column.name)
2853 return self.source_column.parse_example_spec
[all …]
Dfeature_column.py1001 def _bucketized_column(source_column, boundaries): argument
1067 if not isinstance(source_column, _NumericColumn):
1070 'Given: {}'.format(source_column))
1071 if len(source_column.shape) > 1:
1074 'Given: {}'.format(source_column))
1081 return _BucketizedColumn(source_column, tuple(boundaries))
2330 return '{}_bucketized'.format(self.source_column.name)
2334 return self.source_column._parse_example_spec # pylint: disable=protected-access
2337 source_tensor = inputs.get(self.source_column)
2345 tuple(self.source_column.shape) + (len(self.boundaries) + 1,))
[all …]
Dfeature_column_v2_test.py828 self.assertIsNot(price, new_bucketized_price.source_column)
833 self.assertIs(price, new_bucketized_price.source_column)
8425 self.assertIs(new_bucketized_price.source_column, new_price)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.feature_column.pbtxt5 argspec: "args=[\'source_column\', \'boundaries\'], varargs=None, keywords=None, defaults=None"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.feature_column.pbtxt5 argspec: "args=[\'source_column\', \'boundaries\'], varargs=None, keywords=None, defaults=None"