Array.zeros constructor

Array.zeros({
  1. required Tuple2<int, int> shape,
})

Implementation

factory Array.zeros({required Tuple2<int, int> shape}) {
  return Array.fromValue(0.0, shape: shape);
}