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

Function set_tensor_address

python/src/infer/pyCore.cpp:131–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131bool set_tensor_address(IExecutionContext& self, char const* tensor_name, size_t memory)
132{
133 return self.setTensorAddress(tensor_name, reinterpret_cast<void*>(memory));
134}
135
136size_t get_tensor_address(IExecutionContext& self, char const* tensor_name)
137{

Callers

nothing calls this directly

Calls 1

setTensorAddressMethod · 0.80

Tested by

no test coverage detected