Template Function gamer::operator*(const tensor<ElemType, D, N>&, const tensor<ElemType, D, M>&)¶
Defined in File tensor.h
Function Documentation¶
-
template<typename ElemType, std::size_t D, std::size_t N, std::size_t M>
tensor<ElemType, D, N + M> gamer::operator*(const tensor<ElemType, D, N> &A, const tensor<ElemType, D, M> &B)¶ Tensor product.
- Parameters
A – [in] First tensor
B – [in] Second tensor
- Template Parameters
ElemType – Typename of elements
D – Vector dimension
N – Rank of first tensor
M – Rank of second tensor
- Returns
Tensor with dimension D and rank N+M