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 typo #15094

Merged
merged 5 commits into from
Dec 4, 2017
Merged

Fix typo #15094

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
4 changes: 2 additions & 2 deletions tensorflow/compiler/xla/service/cpu/disassembler.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ struct DisassemblerResult {
DisassemblerResult(const string& text, size_t code_size_bytes)
: text(text), code_size_bytes(code_size_bytes) {}

// The dissassembled text sections of the object file.
// The disassembled text sections of the object file.
string text;
// The total number of bytes of executable code in the object file.
uint64_t code_size_bytes;
Expand All @@ -53,7 +53,7 @@ class Disassembler {
// Returns a DisassemblerResult for the given object file, containing the
// disassembled code.
//
// If we couldnt' retrieve a disassembler for this platform, an error status
// If we couldn't retrieve a disassembler for this platform, an error status
// is returned.
StatusOr<DisassemblerResult> DisassembleObjectFile(
const llvm::object::ObjectFile& object_file) const;
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/contrib/framework/python/ops/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def get_unique_variable(var_op_name):
"""
candidates = get_variables(scope=var_op_name)
if not candidates:
raise ValueError('Couldnt find variable %s' % var_op_name)
raise ValueError('Couldn\'t find variable %s' % var_op_name)

for candidate in candidates:
if candidate.op.name == var_op_name:
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/core/common_runtime/pending_counts.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ namespace tensorflow {

// PendingCounts counts(layout);
// ...
// counts.decrement_panding(h[id], 1);
// counts.decrement_pending(h[id], 1);
class PendingCounts {
public:
// The state machine for a node's execution.
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/core/common_runtime/shape_refiner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Status InferShapesForFunctionSubNode(const Node* node, ShapeRefiner* refiner,
//
// NOTE: Recursive user-defined functions are not supported.
// Maybe we won't support recursive functions at all in TF, because of
// other maintanabilty issues.
// other maintainability issues.
Status ShapeRefiner::InferShapesForFunction(
const tensorflow::FunctionDef* function_def, bool keep_nested_shapes,
ExtendedInferenceContext* outer_context) {
Expand Down