mobilenet works with trt7(IPluginV2IOExt) ,need to test it with trt8
This commit is contained in:
@@ -15,6 +15,11 @@ Flatten::Flatten(Network *net) : Layer(net) {
|
||||
output_dim.w = 1;
|
||||
output_dim.l = 1;
|
||||
|
||||
this->h = 1;
|
||||
this->w = 1;
|
||||
this->rows = input_dim.w;
|
||||
this->cols = input_dim.h * input_dim.c;
|
||||
this->c = input_dim.w * input_dim.h * input_dim.c;
|
||||
}
|
||||
|
||||
Flatten::~Flatten() {
|
||||
|
||||
Reference in New Issue
Block a user