aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/layers/python/layers/feature_column_ops_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/layers/python/layers/feature_column_ops_test.py')
-rw-r--r--tensorflow/contrib/layers/python/layers/feature_column_ops_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/contrib/layers/python/layers/feature_column_ops_test.py b/tensorflow/contrib/layers/python/layers/feature_column_ops_test.py
index a9698163dd..74d8f24071 100644
--- a/tensorflow/contrib/layers/python/layers/feature_column_ops_test.py
+++ b/tensorflow/contrib/layers/python/layers/feature_column_ops_test.py
@@ -1505,8 +1505,8 @@ class SequenceInputFromFeatureColumnTest(test.TestCase):
expected_input_shape = [4, 3, embedding_dimension]
self.assertAllEqual(expected_input_shape, model_input.shape)
- # `ids_tensor` consists of 7 instances of <empty>, 3 occurences of "b",
- # 2 occurences of "c" and 1 instance of "a".
+ # `ids_tensor` consists of 7 instances of <empty>, 3 occurrences of "b",
+ # 2 occurrences of "c" and 1 instance of "a".
expected_gradient_values = sorted([0., 3., 2., 1.] * embedding_dimension)
actual_gradient_values = np.sort(gradients[0].values, axis=None)
self.assertAllClose(expected_gradient_values, actual_gradient_values)