From: MandarJKulkarni <33712629+MandarJKulkarni@users.noreply.github.com> Date: Sat, 3 Feb 2018 23:22:22 +0000 (+0530) Subject: Fixed a couple of typos (#16731) X-Git-Tag: upstream/v1.7.0~278 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cb7f4fe74165d764981ee1750187d0c0fdca4d5d;p=platform%2Fupstream%2Ftensorflow.git Fixed a couple of typos (#16731) Fixed a couple of typos --- diff --git a/tensorflow/c/c_api.cc b/tensorflow/c/c_api.cc index 3c7f041..b7986ec 100644 --- a/tensorflow/c/c_api.cc +++ b/tensorflow/c/c_api.cc @@ -195,10 +195,10 @@ TF_Tensor* TF_NewTensor(TF_DataType dtype, const int64_t* dims, int num_dims, reinterpret_cast(data) % EIGEN_MAX_ALIGN_BYTES != 0) { // TF_STRING and TF_RESOURCE tensors have a different representation in // TF_Tensor than they do in tensorflow::Tensor. So a copy here is a waste - // (any alignement requirements will be taken care of by TF_TensorToTensor + // (any alignment requirements will be taken care of by TF_TensorToTensor // and TF_TensorFromTensor). // - // Other types have the same represntation, so copy only if it is safe to do + // Other types have the same representation, so copy only if it is safe to do // so. buf->data_ = allocate_tensor("TF_NewTensor", len); std::memcpy(buf->data_, data, len);