MCPcopy Create free account
hub / github.com/apache/tvm-ffi / StaticAdd

Method StaticAdd

tests/cpp/testing_object.h:77–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 explicit TInt(int64_t value) { data_ = make_object<TIntObj>(value); }
76
77 static TInt StaticAdd(TInt lhs, TInt rhs) { return TInt(lhs->value + rhs->value); }
78
79 static int64_t CustomAnyHash(const Any& src) {
80 return static_cast<int64_t>(src.cast<TInt>()->value + 1024);

Callers

nothing calls this directly

Calls 1

TIntClass · 0.70

Tested by

no test coverage detected