Permalink
Browse files

fix several spelling errors

  • Loading branch information...
1 parent 041c610 commit f527a8cebb9c26059ceef6f85a2d64b6340ca649 @CDLuminate CDLuminate committed Aug 11, 2016
Showing with 7 additions and 7 deletions.
  1. +1 −1 ROADMAP.md
  2. +1 −1 Tensor.lua
  3. +1 −1 Tester.lua
  4. +1 −1 lib/TH/THDiskFile.c
  5. +1 −1 lib/TH/generic/THTensorRandom.c
  6. +1 −1 lib/luaT/README.md
  7. +1 −1 test/test.lua
View
@@ -84,7 +84,7 @@ The roadmap focuses on five separate things
Also, I agree, I actually could not install iTorch on my laptop
before cvpr tutorial somehow, it did not want to work :).
- **soumith**: I think we should propose a common display API that any interface can implement,
- that way the users dont need to change scripts across different UI backends.
+ that way the users don't need to change scripts across different UI backends.
Also, szym/display is a good candidate for the Web UI, ITorch is indeed a bit of a pain to install.
- Should we endorse iTorch for everyone to use?
View
@@ -389,7 +389,7 @@ torch.repeatTensor = Tensor.repeatTensor
--- One of the size elements can be -1,
--- a new LongStorage is then returned.
--- The length of the unspecified dimension
- --- is infered from the number of remaining elements.
+ --- is inferred from the number of remaining elements.
local function specifyFully(size, nElements)
local nCoveredElements = 1
local remainingDim = nil
View
@@ -236,7 +236,7 @@ function Tester:_assertTensorEqOrNeq(ta, tb, negate, ...)
if self._assertTensorEqIgnoresDims and (not negate) and success
and not ta:isSameSizeAs(tb) then
self:_warning("Tensors have the same content but different dimensions. "
- .. "For backwards compatability, they are considered equal, "
+ .. "For backwards compatibility, they are considered equal, "
.. "but this may change in the future. Consider using :eq "
.. "to check for equality instead.")
end
View
@@ -207,7 +207,7 @@ static size_t THDiskFile_position(THFile *self)
if (offset > -1)
return (size_t)offset;
else if(!dfself->file.isQuiet)
- THError("unable to obtain disk file offset (maybe a long overflow occured)");
+ THError("unable to obtain disk file offset (maybe a long overflow occurred)");
return 0;
}
@@ -119,7 +119,7 @@ void THTensor_(multinomial)(THLongTensor *self, THGenerator *_generator, THTenso
THArgCheckWithCleanup((sum > 0), THCleanup(THDoubleTensor_free(cum_dist);), 2,
"invalid multinomial distribution (sum of probabilities <= 0)");
/* normalize cumulative probability distribution so that last val is 1
- i.e. dosen't assume original prob_dist row sums to one */
+ i.e. doesn't assume original prob_dist row sums to one */
if ( (sum > 0) || ( ( sum < 1.00001) && (sum > 0.99999) ) )
{
for (j=0; j<n_categories; j++)
View
@@ -237,7 +237,7 @@ shall not be freed. It is a pointer inside `tname` string.
<a name="luat_classmodulename"/>
### int luaT_classmodulename(const char *tname, char *parent_name) ###
-Alias to `luaT_fullparentname ` for ensuring backwards compatibilty;
+Alias to `luaT_fullparentname ` for ensuring backwards compatibility;
use of `luaT_fullparentname` is preferred.
<a name="luat_fullparentname"/>
View
@@ -183,7 +183,7 @@ function torchtest.rsqrt()
end
function torchtest.sigmoid()
- -- cant use genericSingleOpTest, since `math.sigmoid` doesnt exist, have to use
+ -- can't use genericSingleOpTest, since `math.sigmoid` doesn't exist, have to use
-- `torch.sigmoid` instead
local inputValues = {-1000,-1,0,0.5,1,2,1000}
local expectedOutput = {0.0000, 0.2689, 0.5, 0.6225, 0.7311, 0.8808, 1.000}

0 comments on commit f527a8c

Please sign in to comment.