Skip to content

Commit

Permalink
Fix typos (tensorflow#11166)
Browse files Browse the repository at this point in the history
  • Loading branch information
taehoonlee authored and drpngx committed Jul 3, 2017
1 parent eee7615 commit afa03e2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tensorflow/compiler/aot/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ tf_library(
)

# A test of tf_library that includes a graph with an unknown op, but where
# the compilation works because the the unknown op is not needed for the fetches.
# the compilation works because the unknown op is not needed for the fetches.
tf_library(
name = "test_graph_tfunknownop",
testonly = 1,
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/contrib/makefile/create_ios_frameworks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ cd $SCRIPT_DIR/gen/proto
tar cf $FW_DIR_TFCORE_HDRS/tmp.tar tensorflow
cd $FW_DIR_TFCORE_HDRS
tar xf tmp.tar
# Dont include the auto downloaded/generated to build this library
# Don't include the auto downloaded/generated to build this library
rm -rf tensorflow/contrib/makefile
rm -f tmp.tar

Expand Down
2 changes: 1 addition & 1 deletion tensorflow/contrib/seq2seq/python/ops/attention_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def _luong_score(query, keys, scale):
raise ValueError(
"Incompatible or unknown inner dimensions between query and keys. "
"Query (%s) has units: %s. Keys (%s) have units: %s. "
"Perhaps you need to set num_units to the the keys' dimension (%s)?"
"Perhaps you need to set num_units to the keys' dimension (%s)?"
% (query, depth, keys, key_units, key_units))
dtype = query.dtype

Expand Down
2 changes: 1 addition & 1 deletion tensorflow/core/util/memmapped_file_system_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ TEST(MemmappedFileSystemTest, SimpleTest) {
memmapped_env.FileExists("bla-bla-bla").code());
}

TEST(MemmappedFileSystemTest, NotInitalized) {
TEST(MemmappedFileSystemTest, NotInitialized) {
MemmappedEnv memmapped_env(Env::Default());
std::unique_ptr<ReadOnlyMemoryRegion> memory_region;
EXPECT_EQ(
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/python/framework/tensor_shape.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def __ge__(self, other):
def as_dimension(value):
"""Converts the given value to a Dimension.
A Dimenson input will be returned unmodified.
A Dimension input will be returned unmodified.
An input of `None` will be converted to an unknown Dimension.
An integer input will be converted to a Dimension with that value.
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/python/kernel_tests/pooling_ops_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ def testDepthwiseMaxPoolInvalidConfigs(self):
padding="SAME").eval()

# The following are tests that verify that the CPU and GPU implementations
# produce the same resuts.
# produce the same results.
def _CompareMaxPoolingFwd(self, input_shape, ksize, strides, padding):
for dtype in np.float64, np.float32, np.float16:
tensor_input = np.random.rand(*input_shape).astype(dtype)
Expand Down

0 comments on commit afa03e2

Please sign in to comment.