Fix typo in ValueError string.

PiperOrigin-RevId: 181340112
This commit is contained in:
A. Unique TensorFlower 2018-01-09 10:41:06 -08:00 committed by TensorFlower Gardener
parent 4b7d9fec14
commit 9fcaafd4a9

View File

@ -614,7 +614,7 @@ class Estimator(object):
if isinstance(result, (list, tuple)):
if len(result) != 2:
raise ValueError(
'input_fn should return (feautures, labels) as a len 2 tuple.')
'input_fn should return (features, labels) as a len 2 tuple.')
return result[0], result[1], input_hooks
return result, None, input_hooks