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 division of tensor.
- Return
Divided tensor
- Parameters
[in] A
: Tensor to divide[in] x
: Scalar denominator
- Template Parameters
ScalarType
: Typename of the scalarElemType
: Typename of tensor elementsD
: Vector dimensionN
: Rank