Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/tvm-ffi
/ ExampleObjectRef
Function
ExampleObjectRef
tests/cpp/test_example.cc:268–273 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
266
}
267
268
void ExampleObjectRef() {
269
namespace ffi = tvm::ffi;
270
MyIntPair pair(100, 200);
271
EXPECT_EQ(pair->a, 100);
272
EXPECT_EQ(pair->b, 200);
273
}
274
275
void ExampleObjectRefAny() {
276
namespace ffi = tvm::ffi;
Callers
1
TEST
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected