diff --git a/tensorflow/contrib/labeled_tensor/python/ops/core.py b/tensorflow/contrib/labeled_tensor/python/ops/core.py index fc1ea834492..abc18aa123b 100644 --- a/tensorflow/contrib/labeled_tensor/python/ops/core.py +++ b/tensorflow/contrib/labeled_tensor/python/ops/core.py @@ -278,7 +278,7 @@ class LabeledTensor(object): @tc.accepts(object, ops.Tensor, tc.Union(Axes, tc.Collection(tc.Union(string_types, AxisLike)))) def __init__(self, tensor, axes): - """Construct a LabeledTenor. + """Construct a LabeledTensor. Args: tensor: The underlying tensor containing the data. diff --git a/tensorflow/core/framework/tensor.cc b/tensorflow/core/framework/tensor.cc index df84d9d5282..a5b5ef0accd 100644 --- a/tensorflow/core/framework/tensor.cc +++ b/tensorflow/core/framework/tensor.cc @@ -451,7 +451,7 @@ Buffer::~Buffer() { // default value for T. // // This routine is using the typed fields (float_val, etc.) in the -// tenor proto as opposed to the untyped binary representation +// tensor proto as opposed to the untyped binary representation // (tensor_content). This is used when we expect the TensorProto is // used by a client program which may not know how to encode a tensor // in the compact binary representation. diff --git a/tensorflow/core/grappler/clusters/single_machine.cc b/tensorflow/core/grappler/clusters/single_machine.cc index 0cbd673a450..611fc21c734 100644 --- a/tensorflow/core/grappler/clusters/single_machine.cc +++ b/tensorflow/core/grappler/clusters/single_machine.cc @@ -282,7 +282,7 @@ Status SingleMachine::ResetSession() { // Make sure the session is properly closed TF_RETURN_IF_ERROR(Shutdown()); - // Destroying the object deletes all its varibles as well. This is only true + // Destroying the object deletes all its variables as well. This is only true // for DirectSession. session_.reset(); } diff --git a/tensorflow/core/kernels/pooling_ops_3d_sycl.h b/tensorflow/core/kernels/pooling_ops_3d_sycl.h index d8cbc589a1b..c1bc5af4986 100644 --- a/tensorflow/core/kernels/pooling_ops_3d_sycl.h +++ b/tensorflow/core/kernels/pooling_ops_3d_sycl.h @@ -213,7 +213,7 @@ struct LaunchPoolingOp { } }; // MaxPool3DGrad SYCL kernel. Expects the number of threads to be equal to the -// number of elements in the output backprop tenor (i.e. the number of elements +// number of elements in the output backprop tensor (i.e. the number of elements // in the input data tensor). // // For each output backprop element we compute the possible window of values in diff --git a/tensorflow/python/keras/_impl/keras/backend.py b/tensorflow/python/keras/_impl/keras/backend.py index 83dd90aba84..758a866e188 100644 --- a/tensorflow/python/keras/_impl/keras/backend.py +++ b/tensorflow/python/keras/_impl/keras/backend.py @@ -2889,7 +2889,7 @@ def elu(x, alpha=1.): """Exponential linear unit. Arguments: - x: A tenor or variable to compute the activation function for. + x: A tensor or variable to compute the activation function for. alpha: A scalar, slope of positive section. Returns: diff --git a/tensorflow/tools/docker/notebooks/3_mnist_from_scratch.ipynb b/tensorflow/tools/docker/notebooks/3_mnist_from_scratch.ipynb index fddb6248538..614a19c178d 100644 --- a/tensorflow/tools/docker/notebooks/3_mnist_from_scratch.ipynb +++ b/tensorflow/tools/docker/notebooks/3_mnist_from_scratch.ipynb @@ -1256,7 +1256,7 @@ " \n", "But, here, we'll want to keep the session open so we can poke at values as we work out the details of training. The TensorFlow API includes a function for this, `InteractiveSession`.\n", "\n", - "We'll start by creating a session and initializing the varibles we defined above." + "We'll start by creating a session and initializing the variables we defined above." ] }, {