tfm.core.train_utils.get_leaf_nested_dict

Get leaf from a dictionary with arbitrary depth with a list of keys.

d The dictionary to extract value from.
keys The list of keys to extract values recursively.

The value of the leaf.

KeyError If the value of keys extracted is a dictionary.