You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/local/lib/python3.6/dist-packages/haiku/_src/embed.py in __init__(self, vocab_size, embed_dim, embedding_matrix, w_init, lookup_style, name)
73 """
74 super(Embed, self).__init__(name=name)
---> 75 if not embedding_matrix and not (vocab_size and embed_dim):
76 raise ValueError(
77 "hk.Embed must be supplied either with an initial `embedding_matrix` "
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
The text was updated successfully, but these errors were encountered:
Seems like unintended behavior.
The text was updated successfully, but these errors were encountered: