Save the date! Google I/O returns May 18-20 Register now

tfp.experimental.lazybones.utils.get_leaves

Returns all childless descendants ("leaves") of (iterable) ancestors.