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

Method setup

bench/python/all_ops/op_reformat.py:25–27  ·  view source on GitHub ↗
(self, input)

Source from the content-addressed store, hash-verified

23
24class OpReformatNCHWToNHWC(AbstractOpBase):
25 def setup(self, input):
26 super().setup(input)
27 self.input_nchw = cvcuda.reformat(input, "NCHW")
28
29 def run(self, input):
30 return cvcuda.reformat(self.input_nchw, "NHWC")

Callers 1

setupMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected