51 template<
typename dtype>
62 for (
uint32 row = inK; row < inN; ++row)
69 returnArray(row, col++) = dtype{ 1 };
75 for (
uint32 col = inK; col < inM; ++col)
82 returnArray(row++, col) = dtype{ 1 };
102 template<
typename dtype>
105 return eye<dtype>(inN, inN, inK);
121 template<
typename dtype>
124 return eye<dtype>(inShape.
rows, inShape.
cols, inK);