Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit Tests - Aiming for 100% Test Coverage of Basic Ops #38

Open
52 of 93 tasks
cryptodeal opened this issue Sep 17, 2022 · 1 comment
Open
52 of 93 tasks

Unit Tests - Aiming for 100% Test Coverage of Basic Ops #38

cryptodeal opened this issue Sep 17, 2022 · 1 comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed long term The change described in this issue will likely take much longer than typical issues.

Comments

@cryptodeal
Copy link
Contributor

cryptodeal commented Sep 17, 2022

Opening an issue to hold the checklist of Operations, which tracks the Operations still needing Unit Tests:

Supported Operations Tests

  • abs (TODO: addtl tests in abs.test.ts after basic op coverage)
  • absolute (implicit, since the same as abs)
  • add
  • all
  • amax
  • amin
  • any
  • arange
  • argmax
  • argmin
  • backward
  • bitwiseAnd
  • bitwiseOr
  • bitwiseXor
  • bytesUsed
  • ceil
  • clip
  • cos
  • countNonzero
  • cumsum
  • div
  • eq
  • erf
  • exp
  • flip (WIP; failing)
  • floor
  • full
  • greaterThan
  • greaterThanEqual
  • identity
  • iota
  • isinf
  • isnan
  • lShift
  • lessThan
  • lessThanEqual
  • log
  • log1p
  • logicalAnd
  • logicalNot
  • logicalOr
  • matmul
  • maximum
  • mean
  • median
  • minimum
  • mod
  • mul
  • negative
  • neq
  • nonzero
  • norm
  • power
  • rShift
  • rand
  • randn
  • reshape
  • rint
  • roll
  • scalar
  • sigmoid
  • sign
  • sin
  • sort
  • sqrt
  • std
  • sub
  • sum
  • tanh
  • tensor
  • tile
  • transpose
  • tril
  • triu
  • where

Tensor Class Methods & Properties Tests

  • asContiguousTensor
  • elements (used in tests)
  • ndim
  • ptr (need test for this?)
  • shape (used in tests)
  • shape64
  • copy
  • deepCopy
  • detach
  • index
  • indexedAssign
  • requireGrad
  • toFloat32
  • toFloat32Array
  • toString
  • update
  • valueOf
  • var
@bwasti bwasti added good first issue Good for newcomers help wanted Extra attention is needed long term The change described in this issue will likely take much longer than typical issues. labels Oct 2, 2022
@bwasti
Copy link
Contributor

bwasti commented Oct 2, 2022

Thanks for leading the charge on this @cryptodeal!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed long term The change described in this issue will likely take much longer than typical issues.
Projects
None yet
Development

No branches or pull requests

2 participants