Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Oopstom
/
ReactSeq
like
3
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
671cbc6
ReactSeq
/
onmt
/
tests
/
utils_for_tests.py
Oopstom
Upload 313 files
c668e80
verified
6 months ago
raw
Copy download link
history
blame
185 Bytes
import
itertools
def
product_dict
(
**kwargs
):
keys = kwargs.keys()
vals = kwargs.values()
for
instance
in
itertools.product(*vals):
yield
dict
(
zip
(keys, instance))