filled static method
Implementation
static Tensor<double> filled(TensorShape shape, [double value = 0.0]) {
final builder = Float32TensorBuilder();
builder.tensorShape = shape;
final data = builder.elements;
data.fillRange(0, data.length, value);
return builder.build();
}