"vscode:/vscode.git/clone" did not exist on "139c6f0c7175d7f20bd0632678e52066daa5a246"
Commit 1270e840 authored by rusty1s's avatar rusty1s
Browse files

typo

parent 7a3b18ce
...@@ -28,20 +28,7 @@ ...@@ -28,20 +28,7 @@
" output = type(n).fill_(0)\n", " output = type(n).fill_(0)\n",
" index = torch.LongTensor(n).fill_(0)\n", " index = torch.LongTensor(n).fill_(0)\n",
" input = type(n).fill_(1)\n", " input = type(n).fill_(1)\n",
" return output, index, input\n", " return output, index, input"
"\n",
"n = 1000000\n",
"num_runs = 100"
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {},
"outputs": [],
"source": [
"types = [torch.FloatTensor, torch.DoubleTensor, torch.ByteTensor, torch.CharTensor,\n",
" torch.ShortTensor, torch.IntTensor, torch.LongTensor]"
] ]
}, },
{ {
...@@ -76,6 +63,19 @@ ...@@ -76,6 +63,19 @@
" return runtimes" " return runtimes"
] ]
}, },
{
"cell_type": "code",
"execution_count": 14,
"metadata": {},
"outputs": [],
"source": [
"types = [torch.FloatTensor, torch.DoubleTensor, torch.ByteTensor, torch.CharTensor,\n",
" torch.ShortTensor, torch.IntTensor, torch.LongTensor]\n",
"\n",
"n = 1000000\n",
"num_runs = 100"
]
},
{ {
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment