1 command network inference
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user