diff --git a/tensorflow/python/debug/cli/debugger_cli_common.py b/tensorflow/python/debug/cli/debugger_cli_common.py index 48696e5fdb7a01..e6abc7d3562144 100644 --- a/tensorflow/python/debug/cli/debugger_cli_common.py +++ b/tensorflow/python/debug/cli/debugger_cli_common.py @@ -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 = [] diff --git a/tensorflow/python/debug/lib/debug_events_reader.py b/tensorflow/python/debug/lib/debug_events_reader.py index c6234afef04da8..706823b799b14a 100644 --- a/tensorflow/python/debug/lib/debug_events_reader.py +++ b/tensorflow/python/debug/lib/debug_events_reader.py @@ -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. """ @@ -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 diff --git a/tensorflow/python/debug/lib/dumping_callback.py b/tensorflow/python/debug/lib/dumping_callback.py index 9f9afad5b599d4..8abfc242c91f3e 100644 --- a/tensorflow/python/debug/lib/dumping_callback.py +++ b/tensorflow/python/debug/lib/dumping_callback.py @@ -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)