Creates a LinearModel (inherits from keras.training.Model) that creates a linear
authorRohan Jain <rohanj@google.com>
Wed, 4 Apr 2018 22:14:19 +0000 (15:14 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Wed, 4 Apr 2018 22:17:25 +0000 (15:17 -0700)
commitbf8ad8277258bdf352ddd1df5200e61ba625f7a2
treedac2707245c7a900f337237283a72251081b460f
parent91bf5524560c5bc0783b43717156c7dbb6f798f5
Creates a LinearModel (inherits from keras.training.Model) that creates a linear
model.

Had to modify the __call__ method in the base layer class so that it could work with feature style inputs in which case we lazily convert the inputs to tensors instead of providing tensors as inputs upfront.

PiperOrigin-RevId: 191655445
tensorflow/python/feature_column/BUILD
tensorflow/python/feature_column/feature_column.py
tensorflow/python/feature_column/feature_column_test.py
tensorflow/python/layers/base.py