Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
taehoonlee committed Jan 10, 2018
1 parent c457383 commit ab242bf
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tensorflow/compiler/xla/service/allocation_tracker.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class AllocationTracker {
// The device that the memory is allocated on.
int device_ordinal;

// This is the number of times this memory allocation is refered to by
// This is the number of times this memory allocation is referred to by
// registered data handles.
int ref_count;
};
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/compiler/xla/service/layout_assignment.h
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ class LayoutAssignment : public HloPassInterface {
const ResultLayoutConstraint& layout_constraint,
LayoutConstraints* constraints);

// By default LayoutAssignment ensures that inputs and ouptuts of CustomCalls
// By default LayoutAssignment ensures that inputs and outputs of CustomCalls
// have the "major-first" layout (i.e. {n, n-1, ..., 0}).
//
// If this function returns true, LayoutAssignment does not set a layout for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def __init__(self, path):
"""Load the Penn Treebank dataset.
Args:
path: Path to the data/ directory of the dataset from from Tomas Mikolov's
path: Path to the data/ directory of the dataset from Tomas Mikolov's
webpage - http://www.fit.vutbr.cz/~imikolov/rnnlm/simple-examples.tgz
"""

Expand Down
2 changes: 1 addition & 1 deletion tensorflow/contrib/gan/python/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def _tensor_pool_adjusted_model(model, tensor_pool_fn):
`tensor_pool_fn` is None.
Raises:
ValueError: If tensor pool does not suport the `model`.
ValueError: If tensor pool does not support the `model`.
"""
if tensor_pool_fn is None:
return model
Expand Down
4 changes: 2 additions & 2 deletions tensorflow/contrib/lite/nnapi/NeuralNetworksShim.h
Original file line number Diff line number Diff line change
Expand Up @@ -1774,7 +1774,7 @@ inline int ANeuralNetworksExecution_setInput(
* model. If the type is the same as specified when the model
* was built, NULL can be passed.
* @param memory The memory containing the data.
* @param offset This specifies the location of the data whithin the memory.
* @param offset This specifies the location of the data within the memory.
* The offset is in bytes from the start of memory.
* @param length The size in bytes of the data value.
*
Expand Down Expand Up @@ -1841,7 +1841,7 @@ inline int ANeuralNetworksExecution_setOutput(
* model. If the type is the same as specified when the model
* was built, NULL can be passed.
* @param memory The memory where the data is to be stored.
* @param offset This specifies the location of the data whithin the memory.
* @param offset This specifies the location of the data within the memory.
* The offset is in bytes from the start of memory.
* @param length The length in bytes of the data value.
*
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/core/kernels/conv_ops_gpu_3.cu.cc
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ struct GreaterThan {
constexpr bool operator()(int a, int b) const { return a > b; }
};

// For each data type, the tile size posibility frontier denotes the tile size
// For each data type, the tile size possibility frontier denotes the tile size
// combinations that consume the most computational resources constrained by
// - number of threads per SM limit,
// - limit on size of the short dimension (<=15) due to the definition of
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/docs_src/get_started/datasets_quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ calls @{tf.decode_csv} to parse a single line into its features
and the label. Since Estimators require that features be represented as a
dictionary, we rely on Python's built-in `dict` and `zip` functions to build
that dictionary. The feature names are the keys of that dictionary.
We then then call the dictionary's `pop` method to remove the label field from
We then call the dictionary's `pop` method to remove the label field from
the features dictionary:

``` python
Expand Down

0 comments on commit ab242bf

Please sign in to comment.