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

Method get_function

python/tvm/rpc/client.py:62–75  ·  view source on GitHub ↗

Get function from the session. Parameters ---------- name : str The name of the function Returns ------- f : Function The result function.

(self, name)

Source from the content-addressed store, hash-verified

60 return self.get_function("ffi.SystemLib")()
61
62 def get_function(self, name):
63 """Get function from the session.
64
65 Parameters
66 ----------
67 name : str
68 The name of the function
69
70 Returns
71 -------
72 f : Function
73 The result function.
74 """
75 return self._sess.get_function(name)
76
77 def device(self, dev_type, dev_id=0):
78 """Construct a remote device.

Callers 15

system_libMethod · 0.95
uploadMethod · 0.95
downloadMethod · 0.95
removeMethod · 0.95
listdirMethod · 0.95
createFunction · 0.45
compile_cutlass_moduleFunction · 0.45
__getitem__Method · 0.45
export_libraryMethod · 0.45
checkFunction · 0.45

Calls

no outgoing calls

Tested by 15

checkFunction · 0.36
myfuncFunction · 0.36
check_timeoutFunction · 0.36
check_remoteFunction · 0.36
test_optimizer_errorFunction · 0.36
test_sgd_simpleFunction · 0.36
test_sgd_complexFunction · 0.36
test_momentum_sgd_simpleFunction · 0.36
test_adam_simpleFunction · 0.36
test_adam_complexFunction · 0.36