Skip to content

Commit 7886fb3

Browse files
authored
style: fix clang-format and end-of-file issues in yolov13 (#1687)
1 parent b87f66a commit 7886fb3

File tree

2 files changed

+0
-40
lines changed

2 files changed

+0
-40
lines changed

yolov13/include/block.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,6 @@ nvinfer1::ILayer* HyperACE(nvinfer1::INetworkDefinition* network, std::map<std::
102102
int num_hyperedges = 8, bool dsc3k = false, bool shortcut = false, float e1 = 0.5,
103103
float e2 = 1, std::string context = "both", bool channel_adjust = true);
104104

105-
nvinfer1::ILayer* DownsampleConv(nvinfer1::INetworkDefinition* network,
106-
std::map<std::string, nvinfer1::Weights> weightMap, nvinfer1::ITensor& input,
107-
int in_channels, std::string lname, bool channel_adjust);
108-
109105
nvinfer1::IElementWiseLayer* FullPad_Tunnel(nvinfer1::INetworkDefinition* network,
110106
std::map<std::string, nvinfer1::Weights> weightMap,
111107
std::vector<nvinfer1::ITensor*> input, std::string lname);

yolov13/include/calibrator.h

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -37,39 +37,3 @@ class Int8EntropyCalibrator2 : public nvinfer1::IInt8EntropyCalibrator2 {
3737
};
3838

3939
#endif // ENTROPY_CALIBRATOR_H
40-
41-
//#ifndef ENTROPY_CALIBRATOR_H
42-
//#define ENTROPY_CALIBRATOR_H
43-
//
44-
//#include <NvInfer.h>
45-
//#include <string>
46-
//#include <vector>
47-
//#include "macros.h"
48-
//
49-
//// Ð޸ļ̳йØÏµ
50-
//class Int8EntropyCalibrator2 : public nvinfer1::IInt8Calibrator {
51-
// public:
52-
// Int8EntropyCalibrator2(int batchsize, int input_w, int input_h, const char* img_dir, const char* calib_table_name,
53-
// const char* input_blob_name, bool read_cache = true);
54-
// virtual ~Int8EntropyCalibrator2();
55-
// int getBatchSize() const noexcept override;
56-
// bool getBatch(void* bindings[], const char* names[], int nbBindings) noexcept override;
57-
// const void* readCalibrationCache(size_t& length) noexcept override;
58-
// void writeCalibrationCache(const void* cache, size_t length) noexcept override;
59-
//
60-
// private:
61-
// int batchsize_;
62-
// int input_w_;
63-
// int input_h_;
64-
// int img_idx_;
65-
// std::string img_dir_;
66-
// std::vector<std::string> img_files_;
67-
// size_t input_count_;
68-
// std::string calib_table_name_;
69-
// const char* input_blob_name_;
70-
// bool read_cache_;
71-
// void* device_input_;
72-
// std::vector<char> calib_cache_;
73-
//};
74-
//
75-
//#endif // ENTROPY_CALIBRATOR_H

0 commit comments

Comments
 (0)