Skip to content

Commit

Permalink
Merge pull request tensorflow#61952 from tensorflow:sushreebarsa-patch-1
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 570312042
  • Loading branch information
tensorflower-gardener committed Oct 3, 2023
2 parents 0fbad8e + cc27907 commit 3122d1a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions tensorflow/python/debug/cli/debugger_cli_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -809,11 +809,10 @@ def _get_help_for_command_prefix(self, cmd_prefix):
"""Compile the help information for a given command prefix.
Args:
cmd_prefix: Command prefix, as the prefix itself or one of its
aliases.
cmd_prefix: Command prefix, as the prefix itself or one of its aliases.
Returns:
A list of str as the help information fo cmd_prefix. If the cmd_prefix
A list of str as the help information for cmd_prefix. If the cmd_prefix
does not exist, the returned list of str will indicate that.
"""
lines = []
Expand Down
4 changes: 2 additions & 2 deletions tensorflow/python/debug/lib/debug_events_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ class BaseDigest:
for the case of all digests of the same kind coming from the same
file.
2. A tuple of a file index and a byte offset. This applies to case
in which the same type of debugger data may come from multple files,
in which the same type of debugger data may come from multiple files,
e.g., graph execution traces.
"""

Expand Down Expand Up @@ -1306,7 +1306,7 @@ def execution_to_tensor_values(self, execution):
"""Read the full tensor values from an Execution or ExecutionDigest.
Args:
execution: An `ExecutionDigest` or `ExeuctionDigest` object.
execution: An `ExecutionDigest` or `ExecutionDigest` object.
Returns:
A list of numpy arrays representing the output tensor values of the
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/python/debug/lib/dumping_callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ def _lookup_tensor_name(self, tensor):
tensor: The graph tensor to look up the name for.
Returns:
Name of the orignal instrumented tensor as known to the debugger.
Name of the original instrumented tensor as known to the debugger.
"""
return self._tensor_aliases.get(tensor.name, tensor.name)

Expand Down

0 comments on commit 3122d1a

Please sign in to comment.