Adding a _create_state method to FeatureColumn so that we can decouple variable ...
authorRohan Jain <rohanj@google.com>
Wed, 4 Apr 2018 21:29:03 +0000 (14:29 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Wed, 4 Apr 2018 21:34:38 +0000 (14:34 -0700)
commitc7d947ebea70d48e5fe0b6d268f1ada0709c42fe
tree3f0f2cb237035e5de6b48021a5f5ef49c3863ee7
parent86d06ff37f9f1cb2bb5cd0c2d594286bbf023491
Adding a _create_state method to FeatureColumn so that we can decouple variable (more generally, state) creation from getting dense tensors etc. This lays the groundwork to create a Layer type interface (which is more eager friendly) on top of feature columns where variable creation is separated from getting the tensors out.

PiperOrigin-RevId: 191647517
tensorflow/python/feature_column/feature_column.py
tensorflow/python/feature_column/feature_column_test.py