diff --git a/tensorflow/lite/delegates/gpu/gl/gl_sync.h b/tensorflow/lite/delegates/gpu/gl/gl_sync.h index 4f89e01abede4c5ad4dac11e6129bc5dd9de8e05..dadb4b1192ff9c1329df5f26d11581ef1c2c1718 100644 --- a/tensorflow/lite/delegates/gpu/gl/gl_sync.h +++ b/tensorflow/lite/delegates/gpu/gl/gl_sync.h @@ -77,7 +77,7 @@ class GlSync { // Waits until GPU is done with processing. Status GlSyncWait(); -// Waits until all comands are flushed and then performs active waiting by +// Waits until all commands are flushed and then performs active waiting by // spinning a thread and checking sync status. It leads to shorter wait time // (up to tens of ms) but consumes more CPU. Status GlActiveSyncWait(); diff --git a/tensorflow/lite/delegates/nnapi/nnapi_delegate.cc b/tensorflow/lite/delegates/nnapi/nnapi_delegate.cc index 135d99ebd7f8bb6f7e5ba7768f02e1fc55963ef6..3ecbddb86d01bf88c29c842c33e9fdd79f34e274 100644 --- a/tensorflow/lite/delegates/nnapi/nnapi_delegate.cc +++ b/tensorflow/lite/delegates/nnapi/nnapi_delegate.cc @@ -3116,7 +3116,7 @@ TfLiteStatus NNAPIDelegateKernel::AddOpsAndTensors(TfLiteContext* context) { } else if (reg->builtin_code == kTfLiteBuiltinBatchToSpaceNd && input_pos == 2) { // NNAPI does not support crops. - // The Map fucntion will check if all crops are zero. + // The Map function will check if all crops are zero. continue; } else if (reg->builtin_code == kTfLiteBuiltinArgMin || reg->builtin_code == kTfLiteBuiltinArgMax) { diff --git a/tensorflow/lite/toco/tflite/operator.cc b/tensorflow/lite/toco/tflite/operator.cc index 628380a4e5bacde215a1d9144a08ce76ba0be77b..9f61d53c4ac3aec78721c6447712e70652f6a1ca 100644 --- a/tensorflow/lite/toco/tflite/operator.cc +++ b/tensorflow/lite/toco/tflite/operator.cc @@ -506,7 +506,7 @@ class FullyConnected if (op_signature.op->inputs.size() == 2) { return 6; } - // `keep_num_dims` is supported at verison 5. + // `keep_num_dims` is supported at version 5. if (fc_op.keep_num_dims) { return 5; } diff --git a/tensorflow/tools/ci_build/builds/test_user_ops.sh b/tensorflow/tools/ci_build/builds/test_user_ops.sh index 9da9c3b881ed14c4cebd3dd641c23d9cfd6f6708..0fe5acfcd9a84732aabcc2640f83d3539418677a 100644 --- a/tensorflow/tools/ci_build/builds/test_user_ops.sh +++ b/tensorflow/tools/ci_build/builds/test_user_ops.sh @@ -196,7 +196,7 @@ else "/usr/local/cuda/lib and /usr/local/cuda/lib64" fi - echo "Found CUDA library diretory at: ${CUDA_LIB_DIR}" + echo "Found CUDA library directory at: ${CUDA_LIB_DIR}" echo "" # USER_OP_SO=$(basename $(echo "${OP_KERNEL_CC}" | sed -e 's/\.cc/\.so/')) diff --git a/tensorflow/tools/docs/parser.py b/tensorflow/tools/docs/parser.py index d87f9585f2066c96a270a92450e327d637b50a1a..2fa8cb260174c214652926f741728fcc08572a8f 100644 --- a/tensorflow/tools/docs/parser.py +++ b/tensorflow/tools/docs/parser.py @@ -44,7 +44,7 @@ def is_free_function(py_object, full_name, index): index: The {full_name:py_object} dictionary for the public API. Returns: - True if the obeject is a stand-alone function, and not part of a class + True if the object is a stand-alone function, and not part of a class definition. """ if not tf_inspect.isfunction(py_object):