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

Method CustomAnyEqual

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

Source from the content-addressed store, hash-verified

81 }
82
83 static bool CustomAnyEqual(const Any& lhs, const Any& rhs) {
84 return lhs.cast<TInt>()->value == rhs.cast<TInt>()->value;
85 }
86
87 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE(TInt, TNumber, TIntObj);
88};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected