Skip to content

Commit

Permalink
Update dominoes.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
landoskape committed Apr 17, 2024
1 parent b95c9de commit 9d804c4
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions dominoes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,13 @@
"source": [
"# TODO For refactoring\n",
"\n",
"# integrate \".to(device)\" into the dataset classes for the generate_batch method\n",
"\n",
"\n",
"# start working on TSP dataset\n",
"# -- finish reward method for TSP dataset\n",
"# -- need to think more carefully about how to handle the permutation problem etc etc\n",
"\n",
"# start working on supervised learning child of parent dataset class (and make dominoeDataset an child of that also!)"
]
},
Expand All @@ -130,12 +136,13 @@
"\n",
"from time import time\n",
"import torch\n",
"from dominoes.datasets import support\n",
"from dominoes.datasets import DominoeDataset"
]
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 2,
"id": "94b81df6",
"metadata": {},
"outputs": [
Expand All @@ -144,9 +151,9 @@
"output_type": "stream",
"text": [
"tensor([[1., 1., 0., 0., 0., 0., 0., 0., 0.],\n",
" [1., 1., 1., 1., 1., 1., 0., 0., 0.],\n",
" [1., 0., 0., 0., 0., 0., 0., 0., 0.],\n",
" [1., 1., 1., 1., 1., 0., 0., 0., 0.]])\n"
" [1., 1., 1., 1., 1., 1., 1., 0., 0.],\n",
" [1., 1., 1., 1., 1., 1., 1., 0., 0.],\n",
" [1., 1., 0., 0., 0., 0., 0., 0., 0.]])\n"
]
}
],
Expand Down

0 comments on commit 9d804c4

Please sign in to comment.