1 command network inference

This commit is contained in:
Francesco Gatti
2017-07-02 20:47:14 +02:00
parent cfa43a8580
commit ea59d7ca53
4 changed files with 43 additions and 1 deletions
+3
View File
@@ -12,6 +12,9 @@ Layer::Layer(Network *net, dataDim_t in_dim) {
checkCUDNN( cudnnCreateTensorDescriptor(&srcTensorDesc) );
checkCUDNN( cudnnCreateTensorDescriptor(&dstTensorDesc) );
if(!net->addLayer(this))
FatalError("Net reached max number of layers");
}
Layer::~Layer() {