Template Function gamer::operator*(const tensor<ElemType, D, N>&, ScalarType)¶
Defined in File tensor.h
Function Documentation¶
-
template<typename
ScalarType
, typenameElemType
, std::size_tD
, std::size_tN
>
tensor<ElemType, D, N>gamer
::
operator*
(const tensor<ElemType, D, N> &A, ScalarType x) Scalar tensor product.
- Return
Scalar tensor product
- Parameters
[in] A
: Tensor to multiply[in] x
: Scalar to multiply by
- Template Parameters
ScalarType
: Typename of the scalarElemType
: Typename of tensor elementsD
: Vector dimensionN
: Rank