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

Function insertShapesBuild

samples/common/sampleOptions.cpp:289–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289void insertShapesBuild(BuildOptions::ShapeProfile& shapes, nvinfer1::OptProfileSelector selector,
290 const std::string& name, const std::vector<int32_t>& dims)
291{
292 shapes[name][static_cast<size_t>(selector)] = dims;
293}
294
295void insertShapesInference(
296 InferenceOptions::ShapeProfile& shapes, std::string const& name, std::vector<int32_t> const& dims)

Callers 3

getShapesBuildFunction · 0.85
fillShapesFunction · 0.85
parseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected