Fix misspells. (#10000)

This commit is contained in:
Chris Hoyean Song 2017-05-19 00:49:18 +09:00 committed by Rasmus Munk Larsen
parent f488419cd6
commit eac1a7bade
3 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@ class ResampleTest(test.TestCase):
self.assertAllEqual([compat.as_bytes(str(c))
for c in returned_classes], returned_data)
total_returned = len(returned_classes)
# Subsampling rejects a large precentage of the initial data in
# Subsampling rejects a large percentage of the initial data in
# this case.
self.assertGreater(total_returned, 20000 * 0.2)
class_counts = np.array([

View File

@ -166,7 +166,7 @@ class ShapesFromLocAndScaleTest(test.TestCase):
batch_shape, event_shape = distribution_util.shapes_from_loc_and_scale(
loc, scale)
# batch_shape depends on both args, and so is dynamic. Since loc did not
# have static shape, we infered event shape entirely from scale, and this
# have static shape, we inferred event shape entirely from scale, and this
# is available statically.
self.assertAllEqual(
[5, 2], batch_shape.eval(feed_dict={loc: np.zeros((2, 3))}))

View File

@ -188,7 +188,7 @@ class ParallelMapDatasetOp : public OpKernel {
if (!output_buffer_.empty() && output_buffer_.front().is_produced) {
// A new output element is available. Forward the status
// from computing it, and (if we sucessfully got an
// from computing it, and (if we successfully got an
// element) the output values.
Status s = output_buffer_.front().output_status;
if (s.ok()) {