Skip to content

Commit

Permalink
Update the output.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nam-dada committed Jan 13, 2025
1 parent f4eafdd commit 8639f8c
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions docs/source/example/moalg.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -40,7 +40,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 6,
"metadata": {},
"outputs": [
{
Expand All @@ -67,7 +67,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 17,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -89,23 +89,25 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 18,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"tensor(0.4746, device='cuda:0')\n",
"tensor(0.1650, device='cuda:0')\n",
"tensor(0.0902, device='cuda:0')\n",
"tensor(0.0653, device='cuda:0')\n",
"tensor(0.0586, device='cuda:0')\n",
"tensor(0.0564, device='cuda:0')\n",
"tensor(0.0559, device='cuda:0')\n",
"tensor(0.0551, device='cuda:0')\n",
"tensor(0.4481, device='cuda:0')\n",
"tensor(0.1465, device='cuda:0')\n",
"tensor(0.0854, device='cuda:0')\n",
"tensor(0.0647, device='cuda:0')\n",
"tensor(0.0592, device='cuda:0')\n",
"tensor(0.0574, device='cuda:0')\n",
"tensor(0.0562, device='cuda:0')\n",
"tensor(0.0553, device='cuda:0')\n",
"tensor(0.0550, device='cuda:0')\n",
"tensor(0.0546, device='cuda:0')\n",
"tensor(0.0544, device='cuda:0')\n"
"tensor(0.0544, device='cuda:0')\n",
"tensor(0.0543, device='cuda:0')\n"
]
}
],
Expand All @@ -117,7 +119,7 @@
" workflow.step()\n",
" fit = workflow.algorithm.fit\n",
" fit = fit[~torch.isnan(fit).any(dim=1)]\n",
" if i % 10 == 0:\n",
" if i % 9 == 0:\n",
" print(igd(fit, pf))"
]
},
Expand Down

0 comments on commit 8639f8c

Please sign in to comment.