Skip to content

Commit

Permalink
Rearrange imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jimfleming committed Jan 23, 2016
1 parent b3339d2 commit bc91169
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions LSTM Search.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {
"collapsed": false
},
Expand Down Expand Up @@ -39,19 +39,7 @@
"from variants.noaf import NOAFLSTMCell\n",
"from variants.np import NPLSTMCell\n",
"from variants.cifg import CIFGLSTMCell\n",
"from variants.fgr import FGRLSTMCell\n",
"\n",
"cell_types = {\n",
" 'vanilla': VanillaLSTMCell,\n",
" 'nig': NIGLSTMCell,\n",
" 'nfg': NFGLSTMCell,\n",
" 'nog': NOGLSTMCell,\n",
" 'niaf': NIAFLSTMCell,\n",
" 'noaf': NOAFLSTMCell,\n",
" 'np': NPLSTMCell,\n",
" 'cifg': CIFGLSTMCell,\n",
" 'fgr': FGRLSTMCell,\n",
"}"
"from variants.fgr import FGRLSTMCell"
]
},
{
Expand Down Expand Up @@ -269,6 +257,18 @@
},
"outputs": [],
"source": [
"cell_types = {\n",
" 'vanilla': VanillaLSTMCell,\n",
" 'nig': NIGLSTMCell,\n",
" 'nfg': NFGLSTMCell,\n",
" 'nog': NOGLSTMCell,\n",
" 'niaf': NIAFLSTMCell,\n",
" 'noaf': NOAFLSTMCell,\n",
" 'np': NPLSTMCell,\n",
" 'cifg': CIFGLSTMCell,\n",
" 'fgr': FGRLSTMCell,\n",
"}\n",
"\n",
"model_name = \"vanilla\"\n",
"CellType = cell_types[model_name]"
]
Expand Down

0 comments on commit bc91169

Please sign in to comment.