| 823 | } |
| 824 | |
| 825 | inline CodeType GetCodeType(const int number) { |
| 826 | ASSERT(number > 0 && number < 4); |
| 827 | |
| 828 | switch (number) { |
| 829 | case 1: { |
| 830 | return PriorBoxParameter_CodeType_CORNER; |
| 831 | } |
| 832 | case 2: { |
| 833 | return PriorBoxParameter_CodeType_CENTER_SIZE; |
| 834 | } |
| 835 | default: { |
| 836 | return PriorBoxParameter_CodeType_CORNER_SIZE; |
| 837 | } |
| 838 | } |
| 839 | } |
| 840 | |
| 841 | void DealOutput(Blob *output_blob, const int num_kept, const int num, |
| 842 | std::vector<std::map<int, std::vector<float>>> &all_conf_scores, |
no outgoing calls
no test coverage detected