Updated tests and rebased

This commit is contained in:
Alejandro Saucedo 2021-03-07 10:39:30 +00:00
parent bb64b2b37c
commit a2ee928f4c
9 changed files with 151 additions and 100 deletions

View file

@ -190,7 +190,7 @@ class Tensor
// TODO: move to cpp
template <typename T>
T* data() {
return this->mRawData;
return (T*)this->mRawData;
}
template <typename T>