MCPcopy Create free account
hub / github.com/CVCUDA/CV-CUDA / setup

Method setup

bench/python/bench_utils.py:95–101  ·  view source on GitHub ↗

Performs various setup activities to set this operator before it can be run. :param input: The input tensor to run the operator on.

(self, input)

Source from the content-addressed store, hash-verified

93
94 @abstractmethod
95 def setup(self, input):
96 """
97 Performs various setup activities to set this operator before it can be run.
98 :param input: The input tensor to run the operator on.
99 """
100 if hasattr(cvcuda, "clear_cache"):
101 cvcuda.clear_cache()
102
103 @abstractmethod
104 def run(self, input):

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected