Uniform.to_dict (function)


def to_dict(self, exclude=[])

Return the dictionary representation of the distribution object.

The resulting dictionary can be restored to the original object via distl.from_dict.

See also:

Arguments

  • exclude (list, optional, default=[]): list of keys to exclude.

Returns

  • dictionary