tfp.experimental.lazybones.utils.WeakSet

WeakSet.

Methods

add

View source

Add an element.

clear

This is slow (creates N new iterators!) but effective.

discard

View source

Remove an element. Do not raise an exception if absent.

isdisjoint

Return True if two sets have a null intersection.

pop

Return the popped value. Raise KeyError if empty.

remove

Remove an element. If not a member, raise a KeyError.

__and__

__contains__

View source

__eq__

Return self==value.

__ge__

Return self>=value.

__gt__

Return self>value.

__iter__

View source

__le__

Return self<=value.

__len__

View source

__lt__

Return self<value.

__or__

__rand__

__ror__

__rsub__

__rxor__

__sub__

__xor__