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

Function getFileType

samples/common/common.h:488–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

486}
487
488inline std::string getFileType(const std::string& filepath)
489{
490 return filepath.substr(filepath.find_last_of(".") + 1);
491}
492
493inline std::string toLower(const std::string& inp)
494{

Callers 1

prepareInputMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected