Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

parser add depthwidseconv #293

Open
wants to merge 15 commits into
base: developing
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion saber/funcs/detection_output.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class DetectionOutput : public BaseFunc<
CHECK_EQ(shape_out.dims(), 4) << "only support 4d layout";
shape_out[0] = 1;
shape_out[1] = 1;
shape_out[2] = param.keep_top_k;
shape_out[2] = param.keep_top_k * input[0]->num();
shape_out[3] = 7;

return output[0]->set_shape(shape_out);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,10 @@ def Parser_convolutiondepthwise(args):
else:
OpsRegister()["Convolution"].axis = 1
OpsRegister()["Convolution"].bias_term = convolution_param.bias_term
<<<<<<< HEAD

=======
>>>>>>> upstream/developing

@ParserFeedDecorator("Cropping")
def Parser_crop(args):
Expand Down