scalar method Null safety

Vector<double> scalar(
  1. double value
)

Implementation

static Vector<double> scalar(double value) {
  return filled(TensorShape.scalar, value) as Vector<double>;
}