Float32NumericTensor.eye constructor
Implementation
Float32NumericTensor.eye(int numRows, int numCols, List<int> batchShape, {double value = 1.0}) {
List<int> shape = batchShape + [numRows, numCols];
this.shape = TensorShape(shape);
buffer = eyeBuffer(numRows, numCols, batchShape, dType) as Float32List;
}