Adding necessary imports.
This commit is contained in:
parent
534c4744ca
commit
2a4364d226
@ -15,10 +15,13 @@
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {
|
||||
"collapsed": true
|
||||
"collapsed": false
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import mlp.layers as layers\n",
|
||||
"import mlp.initialisers as init\n",
|
||||
"\n",
|
||||
"class ConvolutionalLayer(layers.LayerWithParameters):\n",
|
||||
" \"\"\"Layer implementing a 2D convolution-based transformation of its inputs.\n",
|
||||
"\n",
|
||||
@ -187,6 +190,8 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import numpy as np\n",
|
||||
"\n",
|
||||
"def test_conv_layer_fprop(layer_class, do_cross_correlation=False):\n",
|
||||
" \"\"\"Tests `fprop` method of a convolutional layer.\n",
|
||||
" \n",
|
||||
|
Loading…
Reference in New Issue
Block a user