Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
488
inline std::string getFileType(const std::string& filepath)
489
{
490
return filepath.substr(filepath.find_last_of(
"."
) + 1);
491
}
492
493
inline std::string toLower(const std::string& inp)
494
{
Callers
1
prepareInput
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected