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

Function execute

python/src/infer/pyCore.cpp:89–91  ·  view source on GitHub ↗

For IExecutionContext

Source from the content-addressed store, hash-verified

87
88// For IExecutionContext
89bool execute(IExecutionContext& self, int32_t batchSize, std::vector<size_t>& bindings) {
90 return self.execute(batchSize, reinterpret_cast<void**>(bindings.data()));
91};
92
93bool execute_async(IExecutionContext& self, int32_t batchSize, std::vector<size_t>& bindings,
94 size_t streamHandle, void* inputConsumed) {

Callers

nothing calls this directly

Calls 2

executeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected