working on tensor

This commit is contained in:
2024-05-17 17:16:26 +02:00
parent 052c30fd9d
commit 7a0b49c2b8
2 changed files with 15 additions and 14 deletions

View File

@@ -1024,15 +1024,6 @@ return r;
}
//outer product, rhs indices will be the less significant than this
template<typename T>
Tensor<T> Tensor<T>::operator*(const Tensor &rhs) const
{
Tensor<T> r(rhs.shape.concat(shape));
r.data= data.otimes2vec(rhs.data);
return r;
}
template class Tensor<double>;