TRT8 works with almost every nerual network now!!!!(including demo3d)
This commit is contained in:
+4
-1
@@ -8,7 +8,10 @@ namespace tk { namespace dnn {
|
||||
Reshape::Reshape(Network *net, dataDim_t new_dim) : Layer(net) {
|
||||
|
||||
checkCuda( cudaMalloc(&dstData, input_dim.tot()*sizeof(dnnType)) );
|
||||
|
||||
this->n = new_dim.n;
|
||||
this->c = new_dim.c;
|
||||
this->h = new_dim.h;
|
||||
this->w = new_dim.w;
|
||||
output_dim.n = new_dim.n;
|
||||
output_dim.c = new_dim.c;
|
||||
output_dim.h = new_dim.h;
|
||||
|
||||
Reference in New Issue
Block a user