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
** (FunctionClauseError) no function clause matching in Keyword.pop/3
The following arguments were given to Keyword.pop/3:
# 1
0.005
# 2
:learning_rate
# 3
0.001
Attempted function clauses (showing 1 out of 1):
def pop(keywords, key, default) when is_list(keywords) and is_atom(key)
(elixir 1.15.7) lib/keyword.ex:1289: Keyword.pop/3
(polaris 0.1.0) lib/polaris/optimizers.ex:109: Polaris.Optimizers.adam/1
Most docs suggest using this library like so:
However, this causes an error, because the args expect a keyword list
Looks like this was intentional: 228f829
So this is an issue to update the docs 😄
The text was updated successfully, but these errors were encountered: