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

Method CustomAnyEqual

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

Source from the content-addressed store, hash-verified

132 }
133
134 static bool CustomAnyEqual(const Any& lhs, const Any& rhs) {
135 return lhs.cast<TFloat>()->value == rhs.cast<TFloat>()->value;
136 }
137
138 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE(TFloat, TNumber, TFloatObj);
139};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected