Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #11444

Merged
merged 1 commit into from Jul 12, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion tensorflow/contrib/cudnn_rnn/python/ops/cudnn_rnn_ops.py
Expand Up @@ -197,7 +197,7 @@ def _transformed_lstm_canonical_names(self):
prefix = "multi_rnn_cell/cell_%d/cudnn_compatible_lstm_cell" % i
w_names.append(prefix + "/kernel")
# Three transformed bias tensors each layer:
# the 1st is for CudnnCompatbleLSTM(Block)Cell restore; the latter two
# the 1st is for CudnnCompatibleLSTM(Block)Cell restore; the latter two
# sum up to the 1st, and are used for cuDNN restore.
b_names.append(prefix + "/bias")
b_names.extend([prefix + "/bias_cudnn_%d" % j for j in range(2)])
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/contrib/labeled_tensor/python/ops/core.py
Expand Up @@ -199,7 +199,7 @@ class Axes(collections.Mapping):
"""Axis names and indices for a tensor.

It is an ordered mapping, with keys given by axis name and values given
by Axis objets. Duplicate axis names are not allowed.
by Axis objects. Duplicate axis names are not allowed.
"""

@tc.accepts(object, tc.List(AxisLike))
Expand Down
Expand Up @@ -50,7 +50,7 @@ def get_state_transition(self):

def get_noise_transform(self):
# transition_power_noise_accumulator makes assumptions about this
# transformation. If the noise transform is modified or overriden,
# transformation. If the noise transform is modified or overridden,
# transition_power_noise_accumulator must be modified as well (or discarded,
# as it is simply an optimization).
return array_ops.pad(
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/core/lib/io/snappy/snappy_buffers_test.cc
Expand Up @@ -117,7 +117,7 @@ Status TestMultipleWrites(size_t compress_input_buf_size,
io::SnappyInputBuffer in(file_reader.get(), uncompress_input_buf_size,
uncompress_output_buf_size);

// Run the test twice, reseting the stream after the first attempt.
// Run the test twice, resetting the stream after the first attempt.
for (int attempt = 0; attempt < 2; ++attempt) {
string actual_result;
for (int i = 0; i < num_writes; i++) {
Expand Down
Expand Up @@ -49,7 +49,7 @@ public static void load() {
// Either:
// (1) The native library has already been statically loaded, OR
// (2) The required native code has been statically linked (through a custom launcher), OR
// (3) The native code is part of another library (such as an an application-level libraryh)
// (3) The native code is part of another library (such as an application-level library)
// that has already been loaded. For example, tensorflow/examples/android and
// tensorflow/contrib/android include the required native code in differently named libraries.
//
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/python/lib/core/strings.i
Expand Up @@ -80,7 +80,7 @@ bool _BytesToStringPiece(PyObject* obj, tensorflow::StringPiece* result) {
}
}

// Converts a C++ string vector to a a list of Python bytes objects.
// Converts a C++ string vector to a list of Python bytes objects.
%typemap(out) std::vector<string> {
const int size = $1.size();
auto temp_string_list = tensorflow::make_safe(PyList_New(size));
Expand Down