Template Function gamer::operator-(const tensor<ElemType, D, N>&, const tensor<ElemType, D, N>&)¶
Defined in File tensor.h
Function Documentation¶
-
template<typename
ElemType
, std::size_tD
, std::size_tN
>
tensor<ElemType, D, N>gamer
::
operator-
(const tensor<ElemType, D, N> &A, const tensor<ElemType, D, N> &B) Elementwise difference.
- Return
Elementwise difference of tensors
- Parameters
[in] A
: First tensor[in] B
: Second tensor
- Template Parameters
ElemType
: Typename of elementsD
: Vector dimensionN
: Rank of tensors