MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / ArgmaxImageWriter

Class ArgmaxImageWriter

quickstart/common/util.h:80–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78};
79
80class ArgmaxImageWriter : public ImageBase
81{
82public:
83 ArgmaxImageWriter(const std::string& filename, const nvinfer1::Dims& dims, const std::vector<int>& palette, const int num_classes);
84 void process(const int* buffer);
85private:
86 int mNumClasses;
87 std::vector<int> mPalette;
88};
89
90}; // namespace util
91

Callers 1

inferMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected