torchdms.utils.cartesian_product

torchdms.utils.cartesian_product(option_dict)[source]

Expand an option dict, collecting the choices made in the first return value of the tuple.

The best way to understand this function is to look at the test in test/test_utils.py.