pyspark.AccumulatorParam.zero

AccumulatorParam.zero(value)[source]

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