Skip to content

Commit

Permalink
PyTorch experiment (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Aug 10, 2018
1 parent e61f8e4 commit 7c80a6d
Show file tree
Hide file tree
Showing 6 changed files with 897 additions and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def package_version():
'caffe-model.js', 'caffe-metadata.json', 'caffe.js',
'caffe2-model.js', 'caffe2-metadata.json', 'caffe2.js',
'mxnet-model.js', 'mxnet-metadata.json', 'unzip.js',
'pytorch-model.js', 'pytorch-metadata.json',
'numpy.js',
'view-browser.html', 'view-browser.js',
'view-render.css', 'view-render.js',
Expand Down
60 changes: 60 additions & 0 deletions src/pytorch-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
[
{
"name": "Conv2d",
"schema": {
"category": "Layer",
"attributes": [
{ "name": "output_padding", "visible": false },
{ "name": "training", "visible": false },
{ "name": "in_channels", "visible": false },
{ "name": "out_channels", "visible": false },
{ "name": "groups", "visible": false }
]
}
},
{
"name": "Linear",
"schema": {
"category": "Layer",
"attributes": [
{ "name": "training", "visible": false }
]
}
},
{
"name": "ReLU",
"schema": {
"category": "Activation",
"attributes": [
{ "name": "training", "visible": false }
]
}
},
{
"name": "MaxPool2d",
"schema": {
"category": "Pool",
"attributes": [
{ "name": "training", "visible": false }
]
}
},
{
"name": "BatchNorm2d",
"schema": {
"category": "Normalization",
"attributes": [
{ "name": "training", "visible": false }
]
}
},
{
"name": "Dropout",
"schema": {
"category": "Dropout",
"attributes": [
{ "name": "training", "visible": false }
]
}
}
]
Loading

0 comments on commit 7c80a6d

Please sign in to comment.