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

Method setup

bench/python/all_ops/op_cache_limit.py:83–86  ·  view source on GitHub ↗
(self, input)

Source from the content-addressed store, hash-verified

81# effectively disable the cache
82class OpCacheLimitZero(BaseOpCacheLimit):
83 def setup(self, input):
84 # Set the cache limit to 0 for this benchmark
85 # low=1000, high=1001 results in always creating tensor's of shape (1000,1000,3)
86 super().setup(input, 0, low=1000, high=1001)
87
88 def run(self, input):
89 super().run(input)

Callers

nothing calls this directly

Calls 1

setupMethod · 0.45

Tested by

no test coverage detected