Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/apache/tvm
/ _remote_tensor_func
Function
_remote_tensor_func
python/tvm/rpc/testing.py:48–50 ·
view source on GitHub ↗
(y)
Source
from the content-addressed store, hash-verified
46
47
@tvm.register_global_func(
"rpc.test.remote_tensor_func"
)
48
def
_remote_tensor_func(y):
49
x = np.ones((3, 4))
50
np.testing.assert_equal(y.numpy(), x)
51
52
53
@tvm.register_global_func(
"rpc.test.add_to_lhs"
)
Callers
nothing calls this directly
Calls
2
ones
Method · 0.80
numpy
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…