MCPcopy Index your code
hub / github.com/apache/tvm / CoreMLModule

Class CoreMLModule

python/tvm/contrib/coreml_runtime.py:53–76  ·  view source on GitHub ↗

Wrapper runtime module. This is a thin wrapper of the underlying TVM module. you can also directly call set_input, run, and get_output of underlying module functions Parameters ---------- module : Module The internal tvm module that holds the actual coreml functions

Source from the content-addressed store, hash-verified

51
52
53class CoreMLModule:
54 """Wrapper runtime module.
55
56 This is a thin wrapper of the underlying TVM module.
57 you can also directly call set_input, run, and get_output
58 of underlying module functions
59
60 Parameters
61 ----------
62 module : Module
63 The internal tvm module that holds the actual coreml functions.
64
65 Attributes
66 ----------
67 module : Module
68 The internal tvm module that holds the actual coreml functions.
69 """
70
71 def __init__(self, module):
72 self.module = module
73 self.invoke = module["invoke"]
74 self.set_input = module["set_input"]
75 self.get_output = module["get_output"]
76 self.get_num_outputs = module["get_num_outputs"]

Callers 1

createFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…