1# Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14# ============================================================================== 15"""FeatureColumns: tools for ingesting and representing features.""" 16 17from __future__ import absolute_import 18from __future__ import division 19from __future__ import print_function 20 21# pylint: disable=unused-import,line-too-long,wildcard-import 22from tensorflow.python.feature_column.feature_column import * 23 24from tensorflow.python.util.all_util import remove_undocumented 25# pylint: enable=unused-import,line-too-long 26 27_allowed_symbols = [ 28 'input_layer', 29 'linear_model', 30 'make_parse_example_spec', 31 'embedding_column', 32 'shared_embedding_columns', 33 'crossed_column', 34 'numeric_column', 35 'bucketized_column', 36 'categorical_column_with_hash_bucket', 37 'categorical_column_with_vocabulary_file', 38 'categorical_column_with_vocabulary_list', 39 'categorical_column_with_identity', 40 'weighted_categorical_column', 41 'indicator_column', 42] 43 44remove_undocumented(__name__, allowed_exception_list=_allowed_symbols) 45