Commit Graph

21 Commits

Author SHA1 Message Date
Goncalves Henriques, Andre (UG - Computer Science)
9257404edd Move the name of the module 2024-04-21 15:15:00 +01:00
pjongy
0e95225655 Fix concurrency bug in generating tensor name
TensorCount should be wrapped by lock
- Tensor name came from {PREFIX}_{CURRENT_TENSOR_COUNT}
- atomic Addint64 is good but generating name from this is quite bug
  prone
2023-10-23 13:46:08 +00:00
sugarme
e0fce090d5
Merge pull request #112 from pjongy/minor_cleanup_memory
MINOR: Move runtime.SetFinalizer into freeXXX
2023-10-19 16:10:39 +11:00
pjongy
6f7d68572b Fix build error 2023-10-19 04:18:26 +00:00
pjongy
8031bb85f5 MINOR: Move runtime.SetFinalizer into freeXXX 2023-10-19 04:15:16 +00:00
pjongy
7533f43c2e Fix concurrency issue in newTensor 2023-10-19 03:17:21 +00:00
sugarme
f0b87eb001 fixed ununique tensor name caused double free tensor error 2023-08-31 22:42:07 +10:00
sugarme
1cffab577c fixed Linear.Forward with bias is nil and clean up 2023-08-12 22:09:34 +10:00
sugarme
b3d821d34e temp use of ts.Randn() instead of ts.Uniform() as it causes mem leak 2023-08-12 20:42:39 +10:00
sugarme
30068c6b41 added ts 2023-07-23 14:54:02 +10:00
sugarme
1fc13ec55e added tensor IsContiguous and IsMkldnn APIs 2023-07-23 14:08:04 +10:00
sugarme
6aa57478f5 added 2023-07-23 13:10:24 +10:00
sugarme
66599380d4 clean-up 2023-07-23 12:36:55 +10:00
sugarme
d1b9267c77 added missing 2023-07-23 12:17:27 +10:00
sugarme
dbbb4b97c1 added get/set cuda device for qt testing 2023-07-11 15:35:36 +10:00
sugarme
01f1e3a7fc wired up ts.Drop() for directly free mem 2023-07-07 22:30:08 +10:00
sugarme
523061eca6 reworked gotch.dtype with more dtypes 2023-07-07 00:01:23 +10:00
sugarme
c095d9f7f8 removed CleanUp inside ts.NoGrad() 2023-07-06 00:20:11 +10:00
sugarme
f45f0a7ed0 changed []ts.Tensor -> []*ts.Tensor 2023-07-05 23:56:48 +10:00
sugarme
e29288f63e fetched from master 2023-07-04 23:26:20 +10:00
sugarme
1c2e6f2599 change package 'tensor' to 'ts' 2022-03-12 18:20:20 +11:00