52 template<
typename dtype>
63 for (
uint32 row = inK; row < inN; ++row)
70 returnArray(row, col++) = dtype{ 1 };
76 for (
uint32 col = inK; col < inM; ++col)
83 returnArray(row++, col) = dtype{ 1 };
103 template<
typename dtype>
106 return eye<dtype>(inN, inN, inK);
122 template<
typename dtype>
125 return eye<dtype>(inShape.
rows, inShape.
cols, inK);