MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / trt_forward

Function trt_forward

monai/networks/trt_compiler.py:604–609  ·  view source on GitHub ↗

Patch function to replace original model's forward() with. Redirects to TrtCompiler.forward()

(self, *argv, **kwargs)

Source from the content-addressed store, hash-verified

602
603
604def trt_forward(self, *argv, **kwargs):
605 """
606 Patch function to replace original model's forward() with.
607 Redirects to TrtCompiler.forward()
608 """
609 return self._trt_compiler.forward(self, argv, kwargs)
610
611
612def trt_compile(

Callers

nothing calls this directly

Calls 1

forwardMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…