Float64NumericTensor.fill constructor

Float64NumericTensor.fill(
  1. List<int> shape,
  2. double value
)

Implementation

Float64NumericTensor.fill(List<int> shape, double value) {
  this.shape = TensorShape(shape);
  buffer = Float64List(this.shape.size)..fillRange(0, this.shape.size, value);
}