Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 659928831
  • Loading branch information
hawkinsp authored and copybara-github committed Aug 6, 2024
1 parent 4a4ed5b commit 1cbdccb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@
"\n",
"def project(params):\n",
" \"\"\"Project residual parameters to nonnegative orthant.\"\"\"\n",
" params = np.clip(params, 0, np.infty)\n",
" params = np.clip(params, 0, np.inf)\n",
" return params\n",
"\n",
"def train(data, labels, weights_init, batch_size=100, num_iters=1000, lr=0.01):\n",
Expand Down

0 comments on commit 1cbdccb

Please sign in to comment.