def extract(cls, node): attrs = {} SparseSegmentSum.update_node_stat(node, attrs) return cls.enabled
def extract(node): attrs = {} SparseSegmentSum.update_node_stat(node, attrs) return __class__.enabled