in ppo_ewma/tree_util.py [0:0]
def __eq__(self, other):
if isinstance(other, PyLeaf):
return False
else:
return (
self.node_type == other.node_type
and self.node_data == other.node_data
and self.children == other.children
)