pyspark.AccumulatorParam.zero

AccumulatorParam.zero(value: T) → T[source]

Provide a “zero value” for the type, compatible in dimensions with the provided value (e.g., a zero vector)